[arch-commits] Commit in intel-ucode/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Wed Dec 11 12:51:48 UTC 2019


    Date: Wednesday, December 11, 2019 @ 12:51:47
  Author: eworm
Revision: 370674

upgpkg: intel-ucode 20191115-3

Use internal functionality from iucode_tool to write early initramfs
archive. This simplifies the commands and it should also make the
package reproducible. Yeah!

Modified:
  intel-ucode/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-11 12:24:39 UTC (rev 370673)
+++ PKGBUILD	2019-12-11 12:51:47 UTC (rev 370674)
@@ -2,7 +2,7 @@
 
 pkgname=intel-ucode
 pkgver=20191115
-pkgrel=2
+pkgrel=3
 pkgdesc='Microcode update files for Intel CPUs'
 arch=('any')
 url='https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files'
@@ -25,10 +25,7 @@
 
   rm -f intel-ucode{,-with-caveats}/list
   mkdir -p kernel/x86/microcode
-  iucode_tool -w kernel/x86/microcode/GenuineIntel.bin intel-ucode{,-with-caveats}/
-  # Make intel-ucode.img reproducible
-  [ ! -z $SOURCE_DATE_EPOCH ] && touch -d @$SOURCE_DATE_EPOCH kernel/x86/microcode/GenuineIntel.bin
-  echo kernel/x86/microcode/GenuineIntel.bin | bsdcpio -o -H newc -R 0:0 > intel-ucode.img
+  iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/
 }
 
 package() {



More information about the arch-commits mailing list