diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-01-12 13:22:18 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-01-12 13:53:28 -0500 |
commit | 9ca352ad2ecb9d3d1bed481ad6358f3cc4a2c717 (patch) | |
tree | 8c4a600006d912cef549424be865e9ea252828a7 | |
parent | sci-physics/geant: Drop 4.10.3 (r0) (diff) | |
download | gentoo-9ca352ad2ecb9d3d1bed481ad6358f3cc4a2c717.tar.gz gentoo-9ca352ad2ecb9d3d1bed481ad6358f3cc4a2c717.tar.bz2 gentoo-9ca352ad2ecb9d3d1bed481ad6358f3cc4a2c717.zip |
sys-firmware/intel-microcode: skip mount-boot phases when initramfs is disabled
Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45
-rw-r--r-- | sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild | 17 |
1 files changed, 17 insertions, 0 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..c8e8544f5885 100644 --- a/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild +++ b/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild @@ -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 +} |