On Thu, 2019-05-30 at 10:29 -0600, Chris Murphy wrote:
On Thu, May 30, 2019 at 9:26 AM Adam Williamson
<adamwill(a)fedoraproject.org> wrote:
> > My suggested change for this section:
> >
> > Install the bootloader files
> > If you don't already have the relevant packages installed, do for
> > Fedora 22 and later versions with DNF or with YUM for older Fedora
> > releases:
> >
> > - dnf install grub2-efi shim
> > + dnf install grub2-efi-ia32 grub2-efi-x64
> > - yum install grub2-efi shim
>
> Uh. We *do* have users who don't use x86_64 arch...
Right. And the original command works there.
I think we have a packaging problem on x86_64. On a cleanly installed
Fedora 31 Workstation, I have
shim-x64-15-8.x86_64
shim-ia32-15-8.x86_64
grub2-pc-2.02-84.fc31.x86_64
grub2-efi-ia32-cdboot-2.02-84.fc31.x86_64
grub2-tools-extra-2.02-84.fc31.x86_64
grub2-tools-efi-2.02-84.fc31.x86_64
grub2-tools-minimal-2.02-84.fc31.x86_64
grub2-pc-modules-2.02-84.fc31.noarch
grub2-tools-2.02-84.fc31.x86_64
grub2-efi-x64-2.02-84.fc31.x86_64
grub2-common-2.02-84.fc31.noarch
grub2-efi-x64-cdboot-2.02-84.fc31.x86_64
grub2-efi-ia32-2.02-84.fc31.x86_64
If I remove:
shim-x64-15-8.x86_64
shim-ia32-15-8.x86_64
grub2-efi-x64-2.02-84.fc31.x86_64
grub2-efi-x64-cdboot-2.02-84.fc31.x86_64
grub2-efi-ia32-2.02-84.fc31.x86_64
grub2-efi-ia32-cdboot-2.02-84.fc31.x86_64
And then:
# dnf install grub2-efi shim
I get the following (edited for legibility)
Installing:
grub2-efi-ia32
shim-x64
That is obviously wrong, it could never work. On x86_64 the original
command should install 32-bit and 64-bit shim and GRUB EFI binaries.
Well, it's sort of a problem, because both the packages provide 'grub2-
efi' and dnf's behaviour in this case is to pick one, not install both.
The only way to get both installed when you call 'dnf install grub2-
efi' would be to have some sort of dependency relationship between
them, I guess.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net