Add firmware-linux-free to the packages to be installed
authorEvgeni Golov <evgeni@grml.org>
Wed, 8 Aug 2012 06:30:00 +0000 (08:30 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 14 Aug 2012 17:05:48 +0000 (19:05 +0200)
Debian ISOs do not include the (non-free) firmware-linux meta-package.
As this meta-package just pulls in firmware-linux-free and
firmware-linux-nonfree, let's install firmware-linux-free by hand, so
it will be installed even when firmware-linux is not available.

chroot-script

index 3f55747..d3535b0 100755 (executable)
@@ -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
 }