diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2016-06-24 12:14:52 -0500 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2016-06-24 12:16:54 -0500 |
commit | 13655cd05b4c1177b76921d9944a7aa6de3002c2 (patch) | |
tree | 5c38a4e3eb1453754f0232662ee7b4486410c6cb /sys-firmware/intel-microcode/intel-microcode-20140913.ebuild | |
parent | a9032c5a8e0dc28d8b1a4dee32b1e5ace818e276 (diff) | |
download | gentoo-13655cd05b4c1177b76921d9944a7aa6de3002c2.tar.gz gentoo-13655cd05b4c1177b76921d9944a7aa6de3002c2.tar.xz |
rename sys-apps/microcode-data -> sys-firmware/intel-microcode
Diffstat (limited to 'sys-firmware/intel-microcode/intel-microcode-20140913.ebuild')
-rw-r--r-- | sys-firmware/intel-microcode/intel-microcode-20140913.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-firmware/intel-microcode/intel-microcode-20140913.ebuild b/sys-firmware/intel-microcode/intel-microcode-20140913.ebuild new file mode 100644 index 00000000000..66a3907c115 --- /dev/null +++ b/sys-firmware/intel-microcode/intel-microcode-20140913.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit toolchain-funcs + +# 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 + +NUM="24290" +DESCRIPTION="Intel IA32 microcode update data" +HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" +SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" + +LICENSE="intel-ucode" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 + +S=${WORKDIR} + +src_unpack() { + default + cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die +} + +src_compile() { + tc-env_build emake intel-microcode2ucode + ./intel-microcode2ucode microcode.dat || die +} + +src_install() { + insinto /lib/firmware + doins -r microcode.dat intel-ucode +} + +pkg_postinst() { + elog "The microcode available for Intel CPUs has been updated. You'll need" + elog "to reload the code into your processor. If you're using the init.d:" + elog "/etc/init.d/microcode_ctl restart" +} |