From b0b168942de10d4f4a912b90214c47a3b5fe4cbd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 29 Jan 2012 11:05:17 +0100 Subject: [PATCH] busybox: provide /bin/eject applet/symlink. --- srcpkgs/busybox/files/dotconfig | 4 ++-- srcpkgs/busybox/template | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/busybox/files/dotconfig b/srcpkgs/busybox/files/dotconfig index 4242f51f675..d4bd5d38f05 100644 --- a/srcpkgs/busybox/files/dotconfig +++ b/srcpkgs/busybox/files/dotconfig @@ -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 diff --git a/srcpkgs/busybox/template b/srcpkgs/busybox/template index 3c4214888f8..213d17790d8 100644 --- a/srcpkgs/busybox/template +++ b/srcpkgs/busybox/template @@ -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 }