Revert "Include linux16.mod in GRUB image file x86_64-efi.img"
authorMichael Prokop <mika@grml.org>
Sun, 20 May 2012 17:57:02 +0000 (19:57 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 20 May 2012 17:57:02 +0000 (19:57 +0200)
This reverts commit bf8e3bc45b72c51386b53da9fe5acae2703b6e41.
Breaks grml-live:

| =====   shell: GRMLBASE/45-grub-images   =====
| grub-mkimage: error: cannot stat /usr/lib/grub/x86_64-efi/linux16.mod.
| GRMLBASE/45-grub-images FAILED with exit code 1.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651562 for
the reason why /usr/lib/grub/x86_64-efi/linux16.mod doesn't exist.

etc/grml/fai/config/scripts/GRMLBASE/45-grub-images

index 56e0619..d6fdb5c 100755 (executable)
@@ -37,7 +37,7 @@ ADDITIONAL_MODULES[i386-pc]="biosdisk"
 if ifclass AMD64 ; then
   if [ -r "${target}"/usr/lib/grub/x86_64-efi/moddep.lst ] ; then
     ARCHS+=(x86_64-efi)
 if ifclass AMD64 ; then
   if [ -r "${target}"/usr/lib/grub/x86_64-efi/moddep.lst ] ; then
     ARCHS+=(x86_64-efi)
-    ADDITIONAL_MODULES[x86_64-efi]="efi_gop efi_uga linux16"
+    ADDITIONAL_MODULES[x86_64-efi]="efi_gop efi_uga"
   else
     echo "/usr/lib/grub/x86_64-efi/moddep.lst could not be found, skipping."
     echo "NOTE: grub-efi-amd64-bin not installed?"
   else
     echo "/usr/lib/grub/x86_64-efi/moddep.lst could not be found, skipping."
     echo "NOTE: grub-efi-amd64-bin not installed?"