diff options
author | Karel Kočí <cynerd@email.cz> | 2021-09-10 12:35:09 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-09-10 12:35:09 +0200 |
commit | 64b6a419222d299404995e73428ada1f698854e9 (patch) | |
tree | a7df39cadf5754572df2ac8544e946545285456b | |
parent | fad78af56fa5d3fcb8ae9e4f9c3b3ca0f3100f39 (diff) | |
download | gentoo-personal-overlay-64b6a419222d299404995e73428ada1f698854e9.tar.gz gentoo-personal-overlay-64b6a419222d299404995e73428ada1f698854e9.tar.bz2 gentoo-personal-overlay-64b6a419222d299404995e73428ada1f698854e9.zip |
sys-kernel/linux: use intel-uc.img on intel instead of ucode.cpio
-rw-r--r-- | sys-kernel/linux/linux-5.13.14-r3.ebuild (renamed from sys-kernel/linux/linux-5.13.14-r2.ebuild) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-kernel/linux/linux-5.13.14-r2.ebuild b/sys-kernel/linux/linux-5.13.14-r3.ebuild index 1fab479..b0483f6 100644 --- a/sys-kernel/linux/linux-5.13.14-r2.ebuild +++ b/sys-kernel/linux/linux-5.13.14-r3.ebuild @@ -81,7 +81,11 @@ pkg_postinst() { if ! grep -q "^LABEL gentoo-${PV}$" "${syslinux}"; then if $(use initramfs); then if $(use ucode); then - initrd="\tINITRD /ucode.cpio,/initramfs-gentoo\n" + if $(use intel); then + initrd="\tINITRD /intel-uc.img,/initramfs-gentoo\n" + else + initrd="\tINITRD /ucode.cpio,/initramfs-gentoo\n" + fi else initrd="\tINITRD /initramfs-gentoo\n" fi |