intel-ucode: fixed format

This commit is contained in:
Tim Biermann 2023-05-21 10:14:26 +02:00
parent 6993c6c161
commit cf6054453c
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 13 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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/microcode-$version.tar.gz)
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
}