From 6537a896ea5734f96cb3564f1675a727a947e684 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 21 May 2015 23:14:18 +0200 Subject: [PATCH 1/2] base-system: remove /usr/sbin/init --- srcpkgs/base-system/template | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/srcpkgs/base-system/template b/srcpkgs/base-system/template index fe86420d27..487953c131 100644 --- a/srcpkgs/base-system/template +++ b/srcpkgs/base-system/template @@ -1,6 +1,6 @@ # Template file for 'base-system' pkgname=base-system -version=0.107 +version=0.108 revision=1 build_style=meta homepage="http://www.voidlinux.eu/" @@ -27,11 +27,3 @@ case "$XBPS_TARGET_MACHINE" in esac build_options="systemd" - -do_install() { - # Create /sbin/init symlink to runit-init. - if [ -z "$build_option_systemd" ]; then - vmkdir usr/sbin - ln -s /usr/bin/runit-init ${DESTDIR}/usr/sbin/init - fi -} From 7047aada3bb5ea7fb46beedc3b94a6f65ee4920d Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 21 May 2015 23:14:46 +0200 Subject: [PATCH 2/2] runit-void: add /usr/sbin/init --- srcpkgs/runit-void/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index 2cc701d8f5..2e3cfa2a3b 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -1,7 +1,7 @@ # Template file for 'runit-void' pkgname=runit-void version=20150511.1 -revision=1 +revision=2 wrksrc="void-runit-${version}" build_pie=yes build_style=gnu-makefile @@ -35,4 +35,5 @@ post_install() { rm -f ${DESTDIR}/etc/runit/runsvdir/current rm -rf ${DESTDIR}/etc/runit/runsvdir/default rm -rf ${DESTDIR}/etc/runit/runsvdir/single + ln -s /usr/bin/runit-init ${DESTDIR}/usr/sbin/init }