Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702422 - sys-boot/grub : grub-mkconfig incorrectly adds a boot menu entry for a config file of app-emulation/xen
Summary: sys-boot/grub : grub-mkconfig incorrectly adds a boot menu entry for a config...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-10 10:20 UTC by Adam Purkrt
Modified: 2024-04-03 02:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.