Otherwise [U]EFI systems will fail on some addons because of:
| Grub cannot load `linux16.mod`
Thanks: Paul Menzel for the bug report
Thanks: Ulrich Dangel for the bugfix
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"
+ ADDITIONAL_MODULES[x86_64-efi]="efi_gop efi_uga linux16"
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?"