From 8edea0b06510066c10fef7270d196b5ec1e6d056 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Thu, 31 May 2018 00:18:55 +0200 Subject: sys-firmware/intel-microcode: rev bump to address QA problem - We now install splitted ucode(s) into the correct directory. - Fixed an issue when emerge failed when no microcode was selected. - "minimal" USE flag was renamed to "hostonly" and disabled per default to avoid confusion. - Additional sanity checks were added to show a warning if no microcode update was installed (can be the case when user set "hostonly" USE flag or uses MICROCODE_SIGNATURES environment variable). Closes: https://bugs.gentoo.org/654638 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- .../intel-microcode-20180527-r1.ebuild | 212 +++++++++++++++++++++ .../intel-microcode-20180527.ebuild | 192 ------------------- sys-firmware/intel-microcode/metadata.xml | 2 +- 3 files changed, 213 insertions(+), 193 deletions(-) create mode 100644 sys-firmware/intel-microcode/intel-microcode-20180527-r1.ebuild delete mode 100644 sys-firmware/intel-microcode/intel-microcode-20180527.ebuild (limited to 'sys-firmware') diff --git a/sys-firmware/intel-microcode/intel-microcode-20180527-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180527-r1.ebuild new file mode 100644 index 000000000000..f8b64c6ca865 --- /dev/null +++ b/sys-firmware/intel-microcode/intel-microcode-20180527-r1.ebuild @@ -0,0 +1,212 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit linux-info toolchain-funcs mount-boot + +# Find updates by searching and clicking the first link (hopefully it's the one): +# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File + +COLLECTION_SNAPSHOT="20180527" +INTEL_SNAPSHOT="20180425" +NUM="27776" +DESCRIPTION="Intel IA32/IA64 microcode update data" +HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" +SRC_URI="https://downloadmirror.intel.com/${NUM}/eng/microcode-${INTEL_SNAPSHOT}.tgz + https://dev.gentoo.org/~whissi/dist/intel-microcode/intel-microcode-collection-${COLLECTION_SNAPSHOT}.tar.xz" + +LICENSE="intel-ucode" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="hostonly initramfs +split-ucode vanilla" +REQUIRED_USE="|| ( initramfs split-ucode )" + +DEPEND="sys-apps/iucode_tool" + +# ! install a small initramfs for use with CONFIG_MICROCODE_EARLY - only install ucode(s) supported by currently available (=online) processor(s) + only install ucode(s) supported by currently available (=online) processor(s) install the large text microcode.dat (used by older kernels via microcode_ctl) install the split binary ucode files (used by the kernel directly) install only microcode updates from Intel's official microcode tarball -- cgit v1.2.3-65-gdbad