base-system-busybox: provide /sbin/init symlink; conflicts with base-system.

This commit is contained in:
Juan RP 2014-09-20 11:17:32 +02:00
parent eae9212838
commit fe17f6d294
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Build template for 'base-system-busybox'.
pkgname=base-system-busybox
version=1.22.1
revision=10
revision=11
wrksrc="busybox-${version}"
homepage="http://www.busybox.net"
hostmakedepends="perl"
@ -11,6 +11,8 @@ license="GPL-2"
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
checksum=ae0b029d0a9e4dd71a077a790840e496dd838998e4571b87b60fed7462b6678b
conflicts="base-system>=0"
# Applets provided by this busybox version.
# Keep this list updated with ${FILESDIR}/dotconfig.
#
@ -46,4 +48,6 @@ do_install() {
vinstall ${FILESDIR}/udhcpc-default.script \
755 usr/share/udhcpc default.script
rm -f ${DESTDIR}/{,s}bin
# Provide /sbin/init symlink to runit.
ln -s /usr/bin/runit-init ${DESTDIR}/usr/sbin/init
}