busybox: provide /bin/eject applet/symlink.

This commit is contained in:
Juan RP 2012-01-29 11:05:17 +01:00
parent 5f183a8401
commit b0b168942d
2 changed files with 7 additions and 6 deletions

View File

@ -665,8 +665,8 @@ CONFIG_FEATURE_CROND_DIR=""
# CONFIG_DEVFSD_VERBOSE is not set
# CONFIG_FEATURE_DEVFS is not set
# CONFIG_DEVMEM is not set
# CONFIG_EJECT is not set
# CONFIG_FEATURE_EJECT_SCSI is not set
CONFIG_EJECT=y
CONFIG_FEATURE_EJECT_SCSI=y
# CONFIG_FBSPLASH is not set
# CONFIG_FLASHCP is not set
# CONFIG_FLASH_LOCK is not set

View File

@ -1,6 +1,7 @@
# Build template for 'busybox'.
pkgname=busybox
version=1.19.3
revision=1
homepage="http://www.busybox.net"
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
short_desc="The Swiss Army Knife of Embedded Linux"
@ -23,17 +24,17 @@ if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
Add_dependency build perl ">=0"
fi
do_build()
{
do_build() {
cp -f ${FILESDIR}/dotconfig .config
make ${makejobs}
}
do_install()
{
do_install() {
vinstall busybox 755 bin
vinstall docs/busybox.1 644 usr/share/man/man1
# Create /usr/bin/vi symlink for base.
vmkdir usr/bin
cd ${DESTDIR}/usr/bin && ln -sf ../../bin/busybox vi
# Create /bin/eject symlink for base.
cd ${DESTDIR}/bin && ln -sf busybox eject
}