diff options
| author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-06-27 12:26:35 +0200 |
|---|---|---|
| committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-06-28 15:35:35 +0200 |
| commit | afeaf7f98275b3d5d7b1902bd22adc93593ba32d (patch) | |
| tree | 55fb00b3b24e8adb19c024c9a7f27c98ac8ab831 /dev-python/GitPython/GitPython-3.1.43.ebuild | |
| parent | 1add5b8422f7281d489e21ea152b48a68747714c (diff) | |
| download | gentoo-afeaf7f98275b3d5d7b1902bd22adc93593ba32d.tar.gz gentoo-afeaf7f98275b3d5d7b1902bd22adc93593ba32d.tar.bz2 gentoo-afeaf7f98275b3d5d7b1902bd22adc93593ba32d.zip | |
sys-kernel/linux-firmware: add ucode image generator hooks
This creates a AMD microcode image when installing the kernel and when
installkernel/kernel-install is configured to use an initramfs generator other
then dracut. Dracut bundles the microcode in the image it generates, many
other initramfs generators do not and we want these users to also get the
latest CPU microcode.
installkernel-gentoo.git has recently gained support for handling these ucode
images and passing them on to bootloaders and UKI generators.
Note that this should be here and not in installkernel-gentoo.git because we
only want to install this when the initramfs flag is enabled to avoid the
situation where users who don't want an ucode.img get one anyway.
To avoid code-duplication we add and install a little helper script that we can
call both from the ebuild and from the hooks.
Co-authored-by: Zen <z@pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/37320
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/GitPython/GitPython-3.1.43.ebuild')
0 files changed, 0 insertions, 0 deletions
