Skip to content

Commit

Permalink
Don't install busybox any longer by default
Browse files Browse the repository at this point in the history
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: #240
  • Loading branch information
mika committed Dec 7, 2023
1 parent 82858a8 commit 2708f44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chroot-script
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2708f44

Please sign in to comment.