Merge pull request #1630 from Gottox/sbin_init_mv
move /usr/sbin/init from base-system to runit-void
This commit is contained in:
commit
dcf3017674
2 changed files with 3 additions and 10 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue