Bug#865052: Do not choose efi architecture based on installation arch

Andreas Heinlein aheinlein at gmx.com
Sun Jun 18 20:49:15 UTC 2017


Package: grub-efi

Version: 2.02~beta3-5

Severity: important

The meta-package grub-efi depends on either grub-efi-amd64 if
installation architecture is amd64, or grub-efi-ia32 if installed on i386.

There is no sane reason to do so. GRUB EFI architecture needs to match
the architecture of the EFI firmware, not necessarily that of the
installed OS. A 32bit EFI can boot a 64bit OS just fine, and vice versa.
There are in fact numerous intel based tablets and convertibles out
there which for whatever reason use a 32bit EFI firmware even though
their Atom CPU is 64bit capable and runs Debian amd64 just fine. I have
one here at hand.

So either need to determine EFI architecture at install time and then
pull in the correct package (hard way), or correct the dependencies and
depend on *both* grub-efi-amd64 and grub-efi-ia32, regardless of
installation architecture (easy way). I did the latter for tests on our
machines and found no problems so far with both of them co-existing.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20170618/e8cc83ba/attachment.sig>


More information about the Pkg-grub-devel mailing list