[arch-commits] Commit in intel-ucode/repos (testing-any testing-any/PKGBUILD)
Christian Hesse
eworm at archlinux.org
Thu Nov 19 07:59:35 UTC 2020
Date: Thursday, November 19, 2020 @ 07:59:35
Author: eworm
Revision: 401375
archrelease: copy trunk to testing-any
Added:
intel-ucode/repos/testing-any/
intel-ucode/repos/testing-any/PKGBUILD
(from rev 401374, intel-ucode/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: intel-ucode/repos/testing-any/PKGBUILD (from rev 401374, intel-ucode/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2020-11-19 07:59:35 UTC (rev 401375)
@@ -0,0 +1,28 @@
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=intel-ucode
+pkgver=20201118
+pkgrel=1
+pkgdesc='Microcode update files for Intel CPUs'
+arch=('any')
+url='https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files'
+replaces=('microcode_ctl')
+makedepends=('iucode-tool')
+license=('custom')
+source=("${pkgname}-${pkgver/./}.tar.gz::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-${pkgver/./}.tar.gz")
+sha256sums=('e42a264b7b86e80d013d6d00062467352c1f37e0aaea10fe5b51e4d8687921ab')
+
+build() {
+ cd Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}
+
+ rm -f intel-ucode{,-with-caveats}/list
+ mkdir -p kernel/x86/microcode
+ iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/
+}
+
+package() {
+ cd Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}
+
+ install -D -m0644 intel-ucode.img "${pkgdir}"/boot/intel-ucode.img
+ install -D -m0644 license "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list