sys-firmware/intel-microcode: apply CoreOS changes

- Add PVR to sub-slot
- Don't blacklist 06-4f-01; we have a new enough kernel
This commit is contained in:
Benjamin Gilbert 2018-06-24 12:36:42 -07:00
parent dd0501e388
commit 4f03280dc8

View File

@ -17,7 +17,7 @@ SRC_URI="https://downloadmirror.intel.com/${NUM}/eng/microcode-${INTEL_SNAPSHOT}
https://dev.gentoo.org/~whissi/dist/intel-microcode/intel-microcode-collection-${COLLECTION_SNAPSHOT}.tar.xz"
LICENSE="intel-ucode"
SLOT="0"
SLOT="0/${PVR}"
KEYWORDS="-* amd64 x86"
IUSE="hostonly initramfs +split-ucode vanilla"
REQUIRED_USE="|| ( initramfs split-ucode )"
@ -31,8 +31,7 @@ RDEPEND="!<sys-apps/microcode-ctl-1.17-r2
S=${WORKDIR}
# Blacklist bad microcode here.
# 0x000406f1 aka 06-4f-01 aka CPUID 406F1 require newer microcode loader
MICROCODE_BLACKLIST_DEFAULT="-s !0x000406f1"
MICROCODE_BLACKLIST_DEFAULT=""
MICROCODE_BLACKLIST="${MICROCODE_BLACKLIST:=${MICROCODE_BLACKLIST_DEFAULT}}"
# In case we want to set some defaults ...