sys-firmware/intel-microcode: Apply CoreOS changes

- Add PVR to sub-slot
- Don't blacklist 06-4f-01; we have a new enough kernel
- Revert 933df6d841020ef50bea24836ea854f6e4474cf7 RESTRICTs
This commit is contained in:
David Michael 2018-08-31 14:45:19 +00:00
parent 656c1bfbd5
commit a4013e2007

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 )"
@ -28,13 +28,12 @@ DEPEND="sys-apps/iucode_tool"
RDEPEND="!<sys-apps/microcode-ctl-1.17-r2
hostonly? ( sys-apps/iucode_tool )"
RESTRICT="binchecks bindist mirror strip"
RESTRICT="binchecks strip"
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 ...