From a6d2398f72869f5e4a4e8b70d58c6b3574857055 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 24 Mar 2015 10:53:09 +0100 Subject: [PATCH] beaglebone-base: create runit runlevel dir to enable def services. --- srcpkgs/beaglebone-base/INSTALL | 3 ++- srcpkgs/beaglebone-base/template | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/beaglebone-base/INSTALL b/srcpkgs/beaglebone-base/INSTALL index 66e32c82628..682aa5db539 100644 --- a/srcpkgs/beaglebone-base/INSTALL +++ b/srcpkgs/beaglebone-base/INSTALL @@ -3,7 +3,8 @@ post) # enable sshd, ntpdate, ntpd and dhcpcd services. if [ -x /usr/bin/systemctl ]; then systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service - elif [ -d etc/runit/runsvdir/default ]; then + else + mkdir -p etc/runit/runsvdir/default/ ln -s /etc/sv/acpid etc/runit/runsvdir/default/ ln -s /etc/sv/sshd etc/runit/runsvdir/default/ ln -s /etc/sv/ntpd etc/runit/runsvdir/default/ diff --git a/srcpkgs/beaglebone-base/template b/srcpkgs/beaglebone-base/template index d2df54c9da2..4c2be5e386b 100644 --- a/srcpkgs/beaglebone-base/template +++ b/srcpkgs/beaglebone-base/template @@ -1,6 +1,6 @@ # Template file for 'beaglebone-base' pkgname=beaglebone-base -version=1.3 +version=1.4 revision=1 build_style=meta homepage="http://www.voidlinux.eu"