From ab018996887486301a6491b31e673fe1776a5623 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 24 Mar 2015 10:49:50 +0100 Subject: [PATCH] cubieboard2-base: create runit runlevel dir to enable def services. --- srcpkgs/cubieboard2-base/INSTALL | 3 ++- srcpkgs/cubieboard2-base/template | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cubieboard2-base/INSTALL b/srcpkgs/cubieboard2-base/INSTALL index 0e52815ab68..202ce883927 100644 --- a/srcpkgs/cubieboard2-base/INSTALL +++ b/srcpkgs/cubieboard2-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/sshd etc/runit/runsvdir/default/ ln -s /etc/sv/ntpd etc/runit/runsvdir/default/ ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/ diff --git a/srcpkgs/cubieboard2-base/template b/srcpkgs/cubieboard2-base/template index ca6fff5f576..1e4a72e25d3 100644 --- a/srcpkgs/cubieboard2-base/template +++ b/srcpkgs/cubieboard2-base/template @@ -1,6 +1,6 @@ # Template file for 'cubieboard2-base' pkgname=cubieboard2-base -version=2.1 +version=2.2 revision=1 build_style=meta homepage="http://www.voidlinux.eu"