summaryrefslogtreecommitdiff
path: root/sys-kernel/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux')
-rw-r--r--sys-kernel/linux/linux-4.19.13-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-kernel/linux/linux-4.19.13-r1.ebuild b/sys-kernel/linux/linux-4.19.13-r1.ebuild
index dbd7310..3f27472 100644
--- a/sys-kernel/linux/linux-4.19.13-r1.ebuild
+++ b/sys-kernel/linux/linux-4.19.13-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/linux-${VER}"
LICENSE="GPLv2"
SLOT="${PV}"
KEYWORDS="amd64 ~x86"
-IUSE="virt initramfs amd intel"
+IUSE="virt initramfs amd intel ucode"
DEPEND="
sys-devel/bc
@@ -70,7 +70,11 @@ pkg_postinst() {
sysfile
if ! grep -q "^LABEL gentoo-${PV}$" "${SYSLINUX}"; then
if $(use initramfs); then
- INITRD="\tINITRD ${PFIX}/initramfs-gentoo\n"
+ if $(use ucode); then
+ INITRD="\tINITRD ${PFIX}/ucode.cpio,${PFIX}/initramfs-gentoo\n"
+ else
+ INITRD="\tINITRD ${PFIX}/initramfs-gentoo\n"
+ fi
fi
ARGS="$(grep -E "^# ARGS: " "${SYSLINUX}" | sed 's/^# ARGS: //')"
if [ -n "$ARGS" ]; then