summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-01-13 17:09:00 +0100
committerKarel Kočí <cynerd@email.cz>2019-01-13 17:09:00 +0100
commit759e4de856444ae3483697b0d2139fbad3395c45 (patch)
tree18a5b5968198fefa7691b8edb2e862814a467f47 /sys-kernel
parent3838296cd8cbfcf038ad3ae72bfa4978116d3070 (diff)
downloadgentoo-personal-overlay-759e4de856444ae3483697b0d2139fbad3395c45.tar.gz
gentoo-personal-overlay-759e4de856444ae3483697b0d2139fbad3395c45.tar.bz2
gentoo-personal-overlay-759e4de856444ae3483697b0d2139fbad3395c45.zip
sys-kernel/linux: add micro-code to syslinux configuration
Diffstat (limited to 'sys-kernel')
-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