Merge pull request #2351 from moul/relative-init-symlink
base-system-busybox+runit-void: Using relative symbolic link to for /sbin/init
This commit is contained in:
commit
87f0b836eb
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Build template for 'base-system-busybox'.
|
# Build template for 'base-system-busybox'.
|
||||||
pkgname=base-system-busybox
|
pkgname=base-system-busybox
|
||||||
version=1.23.2
|
version=1.23.2
|
||||||
revision=6
|
revision=7
|
||||||
wrksrc="busybox-${version}"
|
wrksrc="busybox-${version}"
|
||||||
homepage="http://www.busybox.net"
|
homepage="http://www.busybox.net"
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
|
@ -59,5 +59,5 @@ do_install() {
|
||||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||||
rm -f ${DESTDIR}/{,s}bin
|
rm -f ${DESTDIR}/{,s}bin
|
||||||
# Provide /sbin/init symlink to runit.
|
# Provide /sbin/init symlink to runit.
|
||||||
ln -s /usr/bin/runit-init ${DESTDIR}/usr/bin/init
|
ln -s runit-init ${DESTDIR}/usr/bin/init
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit-void'
|
# Template file for 'runit-void'
|
||||||
pkgname=runit-void
|
pkgname=runit-void
|
||||||
version=20150827
|
version=20150827
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="void-runit-${version}"
|
wrksrc="void-runit-${version}"
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
@ -37,5 +37,5 @@ post_install() {
|
||||||
rm -f ${DESTDIR}/etc/runit/runsvdir/current
|
rm -f ${DESTDIR}/etc/runit/runsvdir/current
|
||||||
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
||||||
rm -rf ${DESTDIR}/etc/runit/runsvdir/single
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/single
|
||||||
ln -s /usr/bin/runit-init ${DESTDIR}/usr/bin/init
|
ln -s runit-init ${DESTDIR}/usr/bin/init
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue