ports/contrib (3.7): intel-ucode: fixed format
commit cf6054453c0d807f5f6c457a4cbecfd84b355b51 Author: Tim Biermann <tbier@posteo.de> Date: Sun May 21 10:14:26 2023 +0200 intel-ucode: fixed format diff --git a/intel-ucode/.footprint b/intel-ucode/.footprint index dce1a0dd6..691fab6bf 100644 --- a/intel-ucode/.footprint +++ b/intel-ucode/.footprint @@ -1,2 +1,2 @@ drwxr-xr-x root/root boot/ --rw-r--r-- root/root boot/early-ucode.cpio +-rw-r--r-- root/root boot/intel-ucode.img diff --git a/intel-ucode/.signature b/intel-ucode/.signature index 5922c9114..f273974b3 100644 --- a/intel-ucode/.signature +++ b/intel-ucode/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/yrKIGukaFkn9+HvHWVp09XoWeDuawtrDshp7v9pnXXtlXpVE3hk8b+RiH48dESuxKNf0YETo0IgYI5vAZ/sgU= -SHA256 (Pkgfile) = a060261ed7313aa63794c2bf4ab4c4a5e3b83f0b24216e5a920db9d935f4abbe -SHA256 (.footprint) = 45cbe6146ee529f5d7fc3c4dcbb9c56420b2950c372d4196867ff304578bb771 +RWSagIOpLGJF32joVW1khO6ZvWkRDu2puwBtxoyA6BS5D41pdT2nxt+DM9Bc+qxHJNIuqNpEuGSaEg/BVLMsveXs/YUxrQzeLAw= +SHA256 (Pkgfile) = 391bc36461ea662991619e6b5787d513dfdd9ec4343ee370ac7bbda8e6d532e4 +SHA256 (.footprint) = 90de2193ecd08e3d4e1d2f3ee17cddb77337e497a1037c246322dbf2dd1e5f97 SHA256 (microcode-20230516a.tar.gz) = ff21b1c08ce56ff7f07f8b00ff8427fd0e5f846897aa40b01988ba3f05215fc3 diff --git a/intel-ucode/Pkgfile b/intel-ucode/Pkgfile index f08d71a6b..782262f7a 100644 --- a/intel-ucode/Pkgfile +++ b/intel-ucode/Pkgfile @@ -5,12 +5,17 @@ name=intel-ucode version=20230516a -release=1 +release=2 source=(https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/...) build() { cd Intel-Linux-Processor-Microcode-Data-Files-microcode-$version - install -d -m755 $PKG/boot - /usr/sbin/iucode_tool --write-earlyfw=early-ucode.cpio intel-ucode/ - install -m644 early-ucode.cpio $PKG/boot/early-ucode.cpio + + rm -f intel-ucode{,-with-caveats}/list + mkdir -p kernel/x86/microcode + iucode_tool -w kernel/x86/microcode/GenuineIntel.bin \ + intel-ucode/ intel-ucode-with-caveats/ + echo kernel/x86/microcode/GenuineIntel.bin | \ + cpio -o -H newc -R 0:0 > intel-ucode.img + install -D -m0644 intel-ucode.img $PKG/boot/intel-ucode.img }
participants (1)
-
crux@crux.nu