diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-05 18:37:02 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-05 19:34:17 +0100 |
commit | 00ae323887c32f1222a15d9c257e9cf7bb141932 (patch) | |
tree | df8f35193fafcc244acedf2a774edd0b19d2e57d /testing/intel-ucode | |
parent | 8204be095a670386f7464f27f067d843db3330bd (diff) | |
download | aports-00ae323887c32f1222a15d9c257e9cf7bb141932.tar.bz2 aports-00ae323887c32f1222a15d9c257e9cf7bb141932.tar.xz |
testing/intel-ucode: move from non-free
Intel changed their license recently, and allow us to redistribute it.
Diffstat (limited to 'testing/intel-ucode')
-rw-r--r-- | testing/intel-ucode/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/intel-ucode/APKBUILD b/testing/intel-ucode/APKBUILD new file mode 100644 index 0000000000..82c0cef369 --- /dev/null +++ b/testing/intel-ucode/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> +pkgname=intel-ucode +pkgver=20180807a +pkgrel=0 +pkgdesc="Microcode update files for Intel CPUs" +arch=noarch +url="https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22" +license="custom" +makedepens="iucode-tool" +source="https://downloadmirror.intel.com/28087/eng/microcode-$pkgver.tgz" +options="!check" + +build() { + cd "$srcdir" + 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() { + cd "$srcdir" + install -D -m0644 intel-ucode.img "$pkgdir"/boot/intel-ucode.img + install -Dm644 license "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums="3cd6794a5ce26e86f7b644e523ba978699316046e593da215b73b17c4b43049ac4a81636e2ce3e727d06c2efbac98657764aa3ff355edb429127585bb49a9b10 microcode-20180807a.tgz" |