From: Michael Prokop Date: Thu, 7 Dec 2023 15:44:33 +0000 (+0100) Subject: Don't install busybox any longer by default X-Git-Tag: v0.105~1 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=2708f441697d1b9cd0443b433478ff222bac8a6d Don't install busybox any longer by default busybox is useful for debugging initramfs issues, though it's not necessary by default. Also tools like cryptsetup which rely on busybox in initramfs stage have busybox as dependency anyways. Thanks: Patrick Schleizer + Chris Hofstaedtler Closes: https://github.com/grml/grml-debootstrap/issues/240 --- diff --git a/chroot-script b/chroot-script index 3609a01..5277240 100755 --- a/chroot-script +++ b/chroot-script @@ -349,8 +349,7 @@ kernel() { $APTUPDATE KVER=$(get_kernel_version) if [ -n "$KVER" ] ; then - # note: install busybox to be able to debug initramfs - KERNELPACKAGES="linux-image-$KVER linux-headers-$KVER busybox firmware-linux-free $INITRD_GENERATOR" + KERNELPACKAGES="linux-image-$KVER linux-headers-$KVER firmware-linux-free $INITRD_GENERATOR" # only add firmware-linux if we have non-free as a component if expr "$COMPONENTS" : '.*non-free' >/dev/null ; then KERNELPACKAGES="$KERNELPACKAGES firmware-linux"