Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 702422

Summary: sys-boot/grub : grub-mkconfig incorrectly adds a boot menu entry for a config file of app-emulation/xen
Product: Gentoo Linux Reporter: Adam Purkrt <adam>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED OBSOLETE    
Severity: normal CC: base-system, hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Purkrt 2019-12-10 10:20:59 UTC
Package app-emulation/xen installs a config file to (e.g.) /boot/xen-4.12.1.config. Later, when running grub-mkconfig, this file is interpreted as a multiboot image and incorrectly added as a separate menuentry, which does not work.

Reproducible: Always

Steps to Reproduce:
1.install sys-boot/grub and app-emulation/xen
2.run grub-mkconfig
Actual Results:  
There is a menuentry in the output produced by grub-mkconfig, pertaining to "/boot/xen-4.12.1.config".

Expected Results:  
The menuentry should not be there; the "/boot/xen-4.12.1.config" config file should be ignored when creating boot menu entries.
Comment 1 Adam Purkrt 2019-12-10 10:37:35 UTC
installed versions:

sys-boot/grub-2.04-r1
app-emulation/xen-4.12.1-r3
Comment 2 Mike Gilbert gentoo-dev 2024-04-03 02:29:49 UTC
I am unable to reproduce this with grub-2.12.