[rear-devel] [rear/rear] 946580: uefi: Search for Grub2 modules in /usr/lib/grub*/x...
noreply at github.com
Sat Aug 17 09:26:32 CEST 2019
Author: Renaud Métrich <rmetrich at redhat.com>
Date: 2019-08-02 (Fri, 02 Aug 2019)
uefi: Search for Grub2 modules in /usr/lib/grub*/x86_64-efi and not in /boot.
On Fedora and RHEL systems, Grub2 UEFI modules live in
/usr/lib/grub*/x86_64-efi, not /boot, unless grub2-install is executed,
but executing this tool is not needed with UEFI.
On SuSE systems, Grub2 UEFI modules also live in
/usr/lib/grub*/x86_64-efi, but there is also a copy in /boot, so it's
not needed searching in /boot at all.
Additionally, only UEFI modules should be looked for, so /boot cannot be
searched but only /boot/grub2/x86_64-efi (similarly
/usr/lib/grub*/x86_64-efi, not just /usr/lib/grub*), otherwise we could
get some false positives on dual boot systems (UEFI + Legacy), since
modules for Legacy will also match, which is wrong.
Signed-off-by: Renaud Métrich <rmetrich at redhat.com>
Author: Renaud Métrich <1163635+rmetrich at users.noreply.github.com>
Date: 2019-08-17 (Sat, 17 Aug 2019)
Merge pull request #2199 from rmetrich/RH_UEFI
uefi: Search for Grub2 modules in /usr/lib/grub*/x86_64-efi and not in /boot
More information about the rear-devel