* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-data/
@ 2015-08-11 6:18 Mike Frysinger
0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2015-08-11 6:18 UTC (permalink / raw
To: gentoo-commits
commit: df93befac0d0267d671f384e43447c0b016d777c
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 06:04:56 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 06:18:12 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df93befa
microcode-data: add USE flags to control install of file sets #403119
With newer kernels, there's no need to install the microcode.dat file
as they can automatically load the ucode files themselves. Add USE
flags so people can avoid installing the parts they don't need.
sys-apps/microcode-data/metadata.xml | 4 ++
.../microcode-data-20150121-r1.ebuild | 49 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/sys-apps/microcode-data/metadata.xml b/sys-apps/microcode-data/metadata.xml
index 96a2d58..09a573a 100644
--- a/sys-apps/microcode-data/metadata.xml
+++ b/sys-apps/microcode-data/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
+<use>
+ <flag name='monolithic'>install the large text microcode.dat (used by older kernels via microcode_ctl)</flag>
+ <flag name='split-ucode'>install the split binary ucode files (used by the kernel directly)</flag>
+</use>
</pkgmetadata>
diff --git a/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
new file mode 100644
index 0000000..ca78889
--- /dev/null
+++ b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 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="24661"
+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="monolithic +split-ucode"
+REQUIRED_USE="|| ( monolithic split-ucode )"
+
+RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586
+
+S=${WORKDIR}
+
+src_unpack() {
+ default
+ cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die
+}
+
+src_compile() {
+ if use split-ucode ; then
+ tc-env_build emake intel-microcode2ucode
+ ./intel-microcode2ucode microcode.dat || die
+ fi
+}
+
+src_install() {
+ insinto /lib/firmware
+ use monolithic && doins microcode.dat
+ use split-ucode && doins -r 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"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-data/
@ 2015-08-11 6:18 Mike Frysinger
0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2015-08-11 6:18 UTC (permalink / raw
To: gentoo-commits
commit: 9a1061d10668da791a31a0c79b0c352eccfc3da3
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 06:06:23 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 06:18:13 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1061d1
microcode-data: add USE=initramfs #528712
This flag quickly generates a small initramfs that the kernel needs to
load the microcode at boot time. This way people don't have to figure
out the right incantations themselves.
sys-apps/microcode-data/metadata.xml | 1 +
sys-apps/microcode-data/microcode-data-20150121-r1.ebuild | 9 +++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/sys-apps/microcode-data/metadata.xml b/sys-apps/microcode-data/metadata.xml
index 09a573a..4cf0268 100644
--- a/sys-apps/microcode-data/metadata.xml
+++ b/sys-apps/microcode-data/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>base-system</herd>
<use>
+ <flag name='initramfs'>install a small initramfs for use with CONFIG_MICROCODE_EARLY</flag>
<flag name='monolithic'>install the large text microcode.dat (used by older kernels via microcode_ctl)</flag>
<flag name='split-ucode'>install the split binary ucode files (used by the kernel directly)</flag>
</use>
diff --git a/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
index ca78889..70a89d7 100644
--- a/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
+++ b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
@@ -17,8 +17,8 @@ SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz"
LICENSE="intel-ucode"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE="monolithic +split-ucode"
-REQUIRED_USE="|| ( monolithic split-ucode )"
+IUSE="initramfs monolithic +split-ucode"
+REQUIRED_USE="|| ( initramfs monolithic split-ucode )"
RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586
@@ -30,6 +30,10 @@ src_unpack() {
}
src_compile() {
+ if use initramfs ; then
+ iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die
+ fi
+
if use split-ucode ; then
tc-env_build emake intel-microcode2ucode
./intel-microcode2ucode microcode.dat || die
@@ -38,6 +42,7 @@ src_compile() {
src_install() {
insinto /lib/firmware
+ use initramfs && doins microcode.cpio
use monolithic && doins microcode.dat
use split-ucode && doins -r intel-ucode
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-data/
@ 2015-08-12 3:28 Mike Frysinger
0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2015-08-12 3:28 UTC (permalink / raw
To: gentoo-commits
commit: 7b0f83daffd2d69390f6de2bff262e439a582861
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 03:27:41 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 03:27:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0f83da
sys-apps/microcode-data: add missing iucode_tool dep #528712#45
sys-apps/microcode-data/microcode-data-20150121-r1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
index 70a89d7..f20adf1 100644
--- a/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
+++ b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
@@ -20,6 +20,7 @@ KEYWORDS="-* ~amd64 ~x86"
IUSE="initramfs monolithic +split-ucode"
REQUIRED_USE="|| ( initramfs monolithic split-ucode )"
+DEPEND="initramfs? ( sys-apps/iucode_tool )"
RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586
S=${WORKDIR}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-data/
@ 2015-08-12 11:42 Tobias Klausmann
0 siblings, 0 replies; 5+ messages in thread
From: Tobias Klausmann @ 2015-08-12 11:42 UTC (permalink / raw
To: gentoo-commits
commit: 7d6fa520133c8245bea97a37a99fd7f0223e5132
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 11:42:09 2015 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 11:42:29 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d6fa520
sys-apps/microcode-data: Drop reference to obsolete init.d script in -ctl
Gentoo-Bug: 528712
Package-Manager: portage-2.2.20.1
sys-apps/microcode-data/microcode-data-20150121-r1.ebuild | 6 ------
1 file changed, 6 deletions(-)
diff --git a/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
index f20adf1..18647fe 100644
--- a/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
+++ b/sys-apps/microcode-data/microcode-data-20150121-r1.ebuild
@@ -47,9 +47,3 @@ src_install() {
use monolithic && doins microcode.dat
use split-ucode && doins -r 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"
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-data/
@ 2015-11-11 5:29 Mike Frysinger
0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2015-11-11 5:29 UTC (permalink / raw
To: gentoo-commits
commit: 966e9d2200e0071f7b2570fcf0d61ee7f9006e26
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 05:28:44 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 05:28:56 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966e9d22
sys-apps/microcode-data: version bump to 20151106 #565352
sys-apps/microcode-data/Manifest | 1 +
.../microcode-data/microcode-data-20151106.ebuild | 49 ++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/sys-apps/microcode-data/Manifest b/sys-apps/microcode-data/Manifest
index 2fe33ba..c1074e6 100644
--- a/sys-apps/microcode-data/Manifest
+++ b/sys-apps/microcode-data/Manifest
@@ -2,3 +2,4 @@ DIST microcode-20140430.tgz 785594 SHA256 2e67767fd561164a2b09831020c2d36600ad33
DIST microcode-20140624.tgz 787237 SHA256 b4662ac780438a7b2d87e6d26a7066feb807f37c6e5b6fa147089f4edb02ea37 SHA512 c774006aae639e7fae90bc1f5d8308b407e7cd3b7d0da6e35577560bf6201c2b15f7d7b6b0cd727c50be1e9d508b484b067856631fa2598498982109bff0e44c WHIRLPOOL 6051d4a7547e6f74c653d332c54a4711838b670d2707408de7dccddb5d1409994417bae26ce5ec2f72d91b613e14a3381ded301027995bca1fb746baf85000c4
DIST microcode-20140913.tgz 830537 SHA256 ea6c0ee21d1fbf261f093176a78089c21411e5fe0e2c35b258cedf2b39987e15 SHA512 e179fe0001b1157cc95aee39185f51fd182d53c1bdb30bfc95bc3a70795c32012050f3a4adf06735a77d8ef9c703a330c6a2610b73b70f09f5760e31d39cb89c WHIRLPOOL de56d52d184dd2f21e0ca41dca0bb5b539758de614f4e0eb8e7c8281e97ea6dfcc33c50a3fec7262112dc11e8a78b458b3d7ef8c8b5579d500d358393911565d
DIST microcode-20150121.tgz 850761 SHA256 23353b93bb421971496cea5e9f9d390ce0ed22580a8cc45ae7b3b322dcd8f6b3 SHA512 f62edd1b666cf381605613766d7e123f0c6debee4448c0ff0882d33c144ad2174656d2501a449f24eb3e4708259e7ec0ff42810739b7d1f34a6a1d9950d17bc4 WHIRLPOOL 573368845333aee9ca23a98cc6711cc22da5b5893a3c29df292df281a024ad9b50ab4893cc0a44b65e86f388fc55e2c53cd0f99a619c3315dd4db5e090b91319
+DIST microcode-20151106.tgz 892805 SHA256 096e39489eef67666be652e81fa372a06b74f39ea3d565dc0287242c668717e7 SHA512 606ce97f0fe76f6a34a857923d3432d8e2368e8a5c504ffa0313f9f016d61b0a5dea26e67662ce1283c1f772ace7318e96a34ebeeeff50b25deb3005ccc6978e WHIRLPOOL 0c73429977e31b8f6230b21889480eda79ecc3feb64a8e6e5a1cebc124a98300f887789650e480611a183237461517aba51b3b31a8450bc5a2e01c5955e7b534
diff --git a/sys-apps/microcode-data/microcode-data-20151106.ebuild b/sys-apps/microcode-data/microcode-data-20151106.ebuild
new file mode 100644
index 0000000..f224706
--- /dev/null
+++ b/sys-apps/microcode-data/microcode-data-20151106.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 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="25512"
+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="initramfs monolithic +split-ucode"
+REQUIRED_USE="|| ( initramfs monolithic split-ucode )"
+
+DEPEND="initramfs? ( sys-apps/iucode_tool )"
+RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586
+
+S=${WORKDIR}
+
+src_unpack() {
+ default
+ cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die
+}
+
+src_compile() {
+ if use initramfs ; then
+ iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die
+ fi
+
+ if use split-ucode ; then
+ tc-env_build emake intel-microcode2ucode
+ ./intel-microcode2ucode microcode.dat || die
+ fi
+}
+
+src_install() {
+ insinto /lib/firmware
+ use initramfs && doins microcode.cpio
+ use monolithic && doins microcode.dat
+ use split-ucode && doins -r intel-ucode
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-11 5:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11 6:18 [gentoo-commits] repo/gentoo:master commit in: sys-apps/microcode-data/ Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2015-11-11 5:29 Mike Frysinger
2015-08-12 11:42 Tobias Klausmann
2015-08-12 3:28 Mike Frysinger
2015-08-11 6:18 Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox