mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 08:02:26 +01:00
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=intel-ucode
|
|
pkgver=20180807a
|
|
pkgrel=2
|
|
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://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"
|