GNU GRUB - Bugs: bug #58114, 20_linux_xen also creates garbage...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58114: 20_linux_xen also creates garbage entries for xen*config and xen*efi
Submitter: | John <johnth> | ||
Submitted: | Sat 04 Apr 2020 07:49:38 PM UTC | ||
Category: | Configuration | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | Git master |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.12.
Corresponding source code
In adding GRUB boot entries for Xen on Arch Linux using grub-mkconfig
My distribution Xen package installs /boot/xen-$vernum.efi and /boot/xen-$vernum.config
20_linux_xen picks these up as bootable Xen loaders for multiboot2,
and I end up with unbootable GRUB entries for them.
Could grub_file_is_not_garbage be expanded to include *.config?
http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub-mkconfig_lib.in#n184
Would it be appropriate to add a file_is_not_efi and, or file_is_not_config helper function in 20_linux_xen,
similar to file_is_not_sym
http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub.d/20_linux_xen.in#n176
Happy to submit these as patches if suitable,
or take to distribution package level if not.
Cheers,
John