Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914872 - catalyst: multiple vmlinuz-* files causes grub.cfg generation to make insane cfg
Summary: catalyst: multiple vmlinuz-* files causes grub.cfg generation to make insane cfg
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 00:58 UTC by Mason Rocha
Modified: 2023-09-28 01:02 UTC (History)
1 user (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 Mason Rocha 2023-09-28 00:58:21 UTC
- sys-kernel/gentoo-kernel-bin had installed two vmlinuz-* files (one normal, one ending in .old)
- L82 of targets/support/functions.sh fails to rename kernel image quietly (makes some noise but doesnt cause crash) due to -e only accepting 1 argument
- vmlinuz-* file not renamed to /boot/{kernel_name}
- bootloader script autogenerates grub.cfg to point at /boot/{kernel_name}, assuming file exists
- grub requires manual intervention to boot at this stage due to /boot/{kernel_name} not existing

same issue likely exists at L73-L95 of the file where similar syntax is used

underlying issue that distkernels' files are not managed at all prior to installation to /boot