base-system-busybox: provide /sbin/init symlink; conflicts with base-system.
This commit is contained in:
parent
eae9212838
commit
fe17f6d294
|
@ -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.22.1
|
version=1.22.1
|
||||||
revision=10
|
revision=11
|
||||||
wrksrc="busybox-${version}"
|
wrksrc="busybox-${version}"
|
||||||
homepage="http://www.busybox.net"
|
homepage="http://www.busybox.net"
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
|
@ -11,6 +11,8 @@ license="GPL-2"
|
||||||
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
|
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
|
||||||
checksum=ae0b029d0a9e4dd71a077a790840e496dd838998e4571b87b60fed7462b6678b
|
checksum=ae0b029d0a9e4dd71a077a790840e496dd838998e4571b87b60fed7462b6678b
|
||||||
|
|
||||||
|
conflicts="base-system>=0"
|
||||||
|
|
||||||
# Applets provided by this busybox version.
|
# Applets provided by this busybox version.
|
||||||
# Keep this list updated with ${FILESDIR}/dotconfig.
|
# Keep this list updated with ${FILESDIR}/dotconfig.
|
||||||
#
|
#
|
||||||
|
@ -46,4 +48,6 @@ do_install() {
|
||||||
vinstall ${FILESDIR}/udhcpc-default.script \
|
vinstall ${FILESDIR}/udhcpc-default.script \
|
||||||
755 usr/share/udhcpc default.script
|
755 usr/share/udhcpc default.script
|
||||||
rm -f ${DESTDIR}/{,s}bin
|
rm -f ${DESTDIR}/{,s}bin
|
||||||
|
# Provide /sbin/init symlink to runit.
|
||||||
|
ln -s /usr/bin/runit-init ${DESTDIR}/usr/sbin/init
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue