Allow configuring the list of busybox applets (bug #326593)

cleanup-cruft
Sebastian Pipping 14 years ago
parent 1f8fff3278
commit 0e37a5fba1

@ -55,7 +55,7 @@ append_busybox() {
chmod +x "${TEMP}/initramfs-busybox-temp/usr/share/udhcpc/default.script" chmod +x "${TEMP}/initramfs-busybox-temp/usr/share/udhcpc/default.script"
# Set up a few default symlinks # Set up a few default symlinks
for i in '[' ash sh mount uname echo cut cat; do for i in ${BUSYBOX_APPLETS:-[ ash sh mount uname echo cut cat}; do
rm -f ${TEMP}/initramfs-busybox-temp/bin/$i > /dev/null rm -f ${TEMP}/initramfs-busybox-temp/bin/$i > /dev/null
ln -s busybox ${TEMP}/initramfs-busybox-temp/bin/$i || ln -s busybox ${TEMP}/initramfs-busybox-temp/bin/$i ||
gen_die "Busybox error: could not link ${i}!" gen_die "Busybox error: could not link ${i}!"

@ -154,6 +154,7 @@ BUSYBOX_VER="VERSION_BUSYBOX"
BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2" BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
BUSYBOX_DIR="busybox-${BUSYBOX_VER}" BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2" BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
# BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
DEVICE_MAPPER_VER="VERSION_DMAP" DEVICE_MAPPER_VER="VERSION_DMAP"
DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}" DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"

Loading…
Cancel
Save