diff --git a/srcpkgs/base-system/template b/srcpkgs/base-system/template index fe86420d27d..487953c131c 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 -} diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index 2cc701d8f55..2e3cfa2a3b8 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 }