2018-02-22 15:17:28 +01:00
|
|
|
# Description: Intel CPU microcode update
|
2023-05-28 10:32:52 +02:00
|
|
|
# URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
|
2019-09-20 09:48:17 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2018-02-22 15:17:28 +01:00
|
|
|
# Depends on: iucode-tool
|
|
|
|
|
|
|
|
name=intel-ucode
|
2023-06-18 17:23:25 +02:00
|
|
|
version=20230613
|
|
|
|
release=1
|
2019-05-15 16:00:18 +02:00
|
|
|
source=(https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$version.tar.gz)
|
2018-02-22 15:17:28 +01:00
|
|
|
|
|
|
|
build() {
|
2019-09-20 09:48:17 +02:00
|
|
|
cd Intel-Linux-Processor-Microcode-Data-Files-microcode-$version
|
2023-05-21 10:14:26 +02:00
|
|
|
|
|
|
|
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
|
2018-02-22 15:17:28 +01:00
|
|
|
}
|