From 3eacfe4274c5d0c8a69911df89525324697c6328 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Wed, 30 May 2018 01:14:42 +0200 Subject: sys-firmware/intel-microcode: Add "minimal" USE flag Due to previous change (commit eb9036f6f998c91c6bc021f73bc10ca1b5240ae7), this package can become very large (or the resulting initramfs). While the already introduced environment variable "MICROCODE_SIGNATURES" is allowing you to set iucode_tool's "--scan-system" parameter to only install ucode(s) supported by the currently available (=online) processor(s), this doesn't work for binary package user(s). The now added "minimal" USE flag (enabled by default) will set "--scan-system" parameter for you. This will still allow you to select/blacklist ucode(s) for all your hosts on your central build host using the "MICROCODE_SIGNATURES" variable like before while giving each host the opportunity to only install really supported ucode(s) which will reduces the file size of the resulting initramfs. Bug: https://bugs.gentoo.org/654638 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- .../intel-microcode-20180426-r1.ebuild | 142 --------------- .../intel-microcode-20180426-r2.ebuild | 192 +++++++++++++++++++++ sys-firmware/intel-microcode/metadata.xml | 1 + 3 files changed, 193 insertions(+), 142 deletions(-) delete mode 100644 sys-firmware/intel-microcode/intel-microcode-20180426-r1.ebuild create mode 100644 sys-firmware/intel-microcode/intel-microcode-20180426-r2.ebuild diff --git a/sys-firmware/intel-microcode/intel-microcode-20180426-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180426-r1.ebuild deleted file mode 100644 index 29a6958681db..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20180426-r1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# 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="20180426" -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="" -IUSE="initramfs +split-ucode vanilla" -REQUIRED_USE="|| ( initramfs split-ucode )" - -DEPEND="sys-apps/iucode_tool" -RDEPEND="! install a small initramfs for use with CONFIG_MICROCODE_EARLY + 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