Skip to content

Commit

Permalink
Merge pull request grml#261 from grml/mika/stretch
Browse files Browse the repository at this point in the history
Install busybox On Debian/stretch as it's required for initramfs
  • Loading branch information
zeha authored Dec 23, 2023
2 parents 7a320f2 + 325a888 commit 6911c80
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 6911c80

Please sign in to comment.