diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-13 06:19:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-13 06:19:51 +0000 |
commit | 8be70107efbb417f839292165ee39d07a062046f (patch) | |
tree | 013918887ec4a00f0cefdb4b4d1313cbc3054305 /sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild | |
parent | 343a7272d559a21a0e0ed13cb743fabb2bfcc479 (diff) |
gentoo resync : 13.01.2018
Diffstat (limited to 'sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild')
-rw-r--r-- | sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild index 60ae099579f5..a62d44a6a6fc 100644 --- a/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild +++ b/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" LICENSE="intel-ucode" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="-* amd64 x86" IUSE="initramfs +split-ucode" REQUIRED_USE="|| ( initramfs split-ucode )" @@ -40,6 +40,7 @@ pkg_pretend() { ewarn "MICROCODE_SIGNATURES is set!" ewarn "The user has decided to install only a SUBSET of microcode." fi + use initramfs && mount-boot_pkg_pretend } src_install() { @@ -76,3 +77,19 @@ src_install() { dodoc releasenote } + +pkg_preinst() { + use initramfs && mount-boot_pkg_preinst +} + +pkg_prerm() { + use initramfs && mount-boot_pkg_prerm +} + +pkg_postrm() { + use initramfs && mount-boot_pkg_postrm +} + +pkg_postinst() { + use initramfs && mount-boot_pkg_postinst +} |