grub2 should ignore xen hypervisor EFI files when building menus

Bug #1553993 reported by Stefan Bader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Low
Unassigned

Bug Description

For a while now (I think about Trusty), the Xen hypervisor package installs two files into /boot. One is the classic hypervisor code (xen*.gz), the other is an EFI executable. Currently we create menu entries for both but only the classic code can be run from grub2. The EFI version is intended to be started directly from the EFI BIOS.
So I would propose the following patch to ignore the EFI files when creating the menu entries. I decided on positively matching the EFI file and skipping over it over that and not narrowing the match because that might still allow a change of compression scheme without needing to change grub2 code again.
The change should be easy to SRU into older releases, too. Though, since the Xen modified default selects the non-EFI submenu, it might not be critical enough to do so.

Tags: patch xenial
Revision history for this message
Stefan Bader (smb) wrote :
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.