runit-void: create default runlevel symlink at post-install time.
This commit is contained in:
parent
18a143e12c
commit
255307f962
|
@ -8,6 +8,7 @@ post)
|
|||
ln -sf /etc/sv/sulogin etc/runit/runsvdir/single
|
||||
|
||||
mkdir -p etc/runit/runsvdir/default
|
||||
ln -sf default etc/runit/runsvdir/current
|
||||
for f in 1 2 3 4 5 6; do
|
||||
[ -e /etc/sv/agetty-tty${f}/down ] || ln -sf /etc/sv/agetty-tty$f etc/runit/runsvdir/default
|
||||
done
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'runit-void'
|
||||
pkgname=runit-void
|
||||
version=20150407
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="void-runit-${version}"
|
||||
build_pie=yes
|
||||
build_style=gnu-makefile
|
||||
|
@ -32,6 +32,7 @@ post_install() {
|
|||
vconf ${XBPS_SRCPKGDIR}/systemd/files/os-release
|
||||
vconf ${XBPS_SRCPKGDIR}/systemd/files/locale.conf
|
||||
# Enable services at post-install time instead.
|
||||
rm -f ${DESTDIR}/etc/runit/runsvdir/current
|
||||
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
||||
rm -rf ${DESTDIR}/etc/runit/runsvdir/single
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user