X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=86f15358cb9898504c341a21b996d88c60e609cf;hp=3f557479557e0040059eafc562a84bd027339e6d;hb=a93156ca9d385302a8b2f8092c15a2ca47306910;hpb=91e39fcde40898c7b5f4d5a96e042ab02ea40af3 diff --git a/chroot-script b/chroot-script index 3f55747..86f1535 100755 --- a/chroot-script +++ b/chroot-script @@ -55,9 +55,9 @@ stage() { askpass() { # read -s emulation for dash. result is in $resp. set -o noglob - stty -echo + [ -t 0 ] && stty -echo read resp - stty echo + [ -t 0 ] && stty echo set +o noglob } # }}} @@ -289,7 +289,7 @@ kernel() { 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" + KERNELPACKAGES="linux-image-$KVER linux-headers-$KVER busybox firmware-linux-free firmware-linux" DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTINSTALL $KERNELPACKAGES fi }