X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=b0737ca77275963cb43a20d9db493619e3b7a84e;hp=fafe1bf1b2a7c3a60cce33cbab3ade2c7ed00eae;hb=HEAD;hpb=bfe0feda5534b6bbd7069dd2ae063e28b6af8871 diff --git a/chroot-script b/chroot-script index fafe1bf..c356bc8 100755 --- a/chroot-script +++ b/chroot-script @@ -349,6 +349,13 @@ kernel() { $APTUPDATE KVER=$(get_kernel_version) if [ -n "$KVER" ] ; then + case "$RELEASE" in + stretch) + echo "Installing busybox on Debian/$RELEASE as it's essential for the initramfs" + DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTINSTALL busybox + ;; + esac + 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