Summary: | sys-kernel/linux-firmware-99999999 fails to install with USE=initramfs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jorge López <jorge> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jorge, nowa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jorge López
2024-07-01 16:22:14 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d97ba8e872340f21b2739a25c6d397c396d57ae commit 8d97ba8e872340f21b2739a25c6d397c396d57ae Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2024-07-01 17:55:22 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-07-01 17:55:22 +0000 sys-kernel/linux-firmware: fix USE=initramfs in live, sync live Closes: https://bugs.gentoo.org/935288 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> .../linux-firmware/linux-firmware-99999999.ebuild | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) > I'm not sure if the 99999999 ebuild is incorrect or not It is, I made a stupid mistake here. I usually run diff on the individual ebuilds to verify that I have applied fixes I made while debugging to all ebuilds, but I clearly neglected to do so here. Sorry. > I noticed that there was no amd-ucode.img in /boot (my system is AMD). Is the code in the 99999999 ebuild needed due to the changes for Dracut? USE=initramfs is responsible for making the early microcode initramfs image (/boot/amd-ucode.img). It either does so by simply making and installing that image itself (USE=-dist-kernel), or by delegating that task to /sbin/installkernel (USE=+dist-kernel). What's new is that there is now a little helper script (make-amd-ucode-img) to generate the microcode image to avoid code duplication in the ebuild and the installkernel hooks. Functionally it behaves the same. Thanks Andrew, confirmed fixed! Btw, while writing the report I just discovered I've been hardcoding the firmware in the kernel config all along, but I forgot. Back to removing USE=initramfs again, lol. |