summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2017-06-06 17:39:12 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2017-06-06 18:27:00 +0200
commit33b865ef80697e4e9ce5272f4867ece3843735fe (patch)
tree730ec531e986b86d8a4aa9334747f76e26b46a43
parentcad7e946be07d3bd7a92d56356c563fd2ae3571a (diff)
downloadhardware-33b865ef80697e4e9ce5272f4867ece3843735fe.tar.gz
hardware-33b865ef80697e4e9ce5272f4867ece3843735fe.tar.xz
intel-microcode: version bump to 20170511
Change-Id: I23a2260118ef3d9a8ab1a75a80e54d167700d0c0 Reviewed-on: https://galileo.mailstation.de/gerrit/9228 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/firmware/intel-microcode/intel-microcode-20170511.exheres-0 (renamed from packages/firmware/intel-microcode/intel-microcode-20161104.exheres-0)18
1 files changed, 13 insertions, 5 deletions
diff --git a/packages/firmware/intel-microcode/intel-microcode-20161104.exheres-0 b/packages/firmware/intel-microcode/intel-microcode-20170511.exheres-0
index 1b2e685..dea5053 100644
--- a/packages/firmware/intel-microcode/intel-microcode-20161104.exheres-0
+++ b/packages/firmware/intel-microcode/intel-microcode-20170511.exheres-0
@@ -6,8 +6,8 @@
require flag-o-matic
-# https://downloadcenter.intel.com/download/26400
-DOWNLOAD_ID=26400 # ^^^^^
+# https://downloadcenter.intel.com/download/26798
+DOWNLOAD_ID=26798 # ^^^^^
MY_PNV=${PN/intel-/}-${PV/_p/-v}
SUMMARY="Intel microcode update data"
@@ -36,9 +36,9 @@ DEPENDENCIES="
WORK=${WORKBASE}
-src_compile() {
- edo mkdir intel-ucode
- edo iucode_tool --write-firmware=intel-ucode microcode.dat
+DEFAULT_SRC_INSTALL_EXTRA_DOCS=( releasenote )
+
+src_prepare() {
edo iucode_tool --write-earlyfw=microcode.cpio intel-ucode
}
@@ -53,6 +53,14 @@ src_install() {
# install the split binary ucode files (used by the kernel directly)
doins -r intel-ucode
+
+ # and try to run the update on boot for systems not configured to use a initramfs
+ insinto /usr/$(exhost --target)/lib/tmpfiles.d
+ hereins ${PN}.conf <<EOF
+w /sys/devices/system/cpu/microcode/reload - - - - 1
+EOF
+
+ emagicdocs
}
pkg_postinst() {