diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2019-05-16 20:37:36 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-21 13:43:32 +0000 |
commit | d51e024b16ec968d474c068c921a0bbb281197fe (patch) | |
tree | 47ee3db264b6306674d1e7f1caa0b71c388360f2 /community/intel-ucode | |
parent | f60e81cc2b1d56c6237dcac41786afe795b204df (diff) | |
download | aports-d51e024b16ec968d474c068c921a0bbb281197fe.tar.bz2 aports-d51e024b16ec968d474c068c921a0bbb281197fe.tar.xz |
community/intel-ucode: move from testing
Diffstat (limited to 'community/intel-ucode')
-rw-r--r-- | community/intel-ucode/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/intel-ucode/APKBUILD b/community/intel-ucode/APKBUILD new file mode 100644 index 0000000000..f02deae639 --- /dev/null +++ b/community/intel-ucode/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> +pkgname=intel-ucode +pkgver=20190514a +pkgrel=0 +pkgdesc="Microcode update files for Intel CPUs" +arch="x86 x86_64" +url="https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22" +license="custom" +makedepends="iucode-tool" +source="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$pkgver.tar.gz" +options="!check" +builddir="$srcdir/Intel-Linux-Processor-Microcode-Data-Files-microcode-$pkgver" + +build() { + rm -f intel-ucode/list 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 +} + +package() { + install -D -m0644 intel-ucode.img "$pkgdir"/boot/intel-ucode.img + install -Dm644 license "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums="2ccfd18964571f2b5bb579df20c2d8c10f3992ad4413f216db6af1454853e898934b7a60d411f6e742b00585268e3ea14d9dc912876183c766be52aae80deb2a microcode-20190514a.tar.gz" |