From: Thomas Deutschmann Date: Tue, 29 May 2018 23:14:42 +0000 (+0200) Subject: sys-firmware/intel-microcode: Add "minimal" USE flag X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3eacfe4274c5d0c8a69911df89525324697c6328;p=gentoo.git 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 --- diff --git a/sys-firmware/intel-microcode/intel-microcode-20180426-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180426-r2.ebuild similarity index 70% rename from sys-firmware/intel-microcode/intel-microcode-20180426-r1.ebuild rename to sys-firmware/intel-microcode/intel-microcode-20180426-r2.ebuild index 29a6958681db..b39f2be9bd87 100644 --- a/sys-firmware/intel-microcode/intel-microcode-20180426-r1.ebuild +++ b/sys-firmware/intel-microcode/intel-microcode-20180426-r2.ebuild @@ -19,11 +19,14 @@ SRC_URI="https://downloadmirror.intel.com/${NUM}/eng/microcode-${INTEL_SNAPSHOT} LICENSE="intel-ucode" SLOT="0" KEYWORDS="" -IUSE="initramfs +split-ucode vanilla" +IUSE="initramfs +minimal +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