Skip to content

Commit

Permalink
Install busybox On Debian/stretch as it's required for initramfs
Browse files Browse the repository at this point in the history
Followup fix for 2708f44

Thanks: Patrick Schleizer <adrelanos@whonix.org> for spotting and reporting
Closes: #256
  • Loading branch information
mika committed Dec 22, 2023
1 parent 7a320f2 commit 325a888
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions chroot-script
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 325a888

Please sign in to comment.