[arch-commits] Commit in intel-ucode/repos (testing-any testing-any/PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Tue Feb 8 21:10:21 UTC 2022


    Date: Tuesday, February 8, 2022 @ 21:10:20
  Author: eworm
Revision: 436607

archrelease: copy trunk to testing-any

Added:
  intel-ucode/repos/testing-any/
  intel-ucode/repos/testing-any/PKGBUILD
    (from rev 436606, intel-ucode/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: intel-ucode/repos/testing-any/PKGBUILD (from rev 436606, intel-ucode/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2022-02-08 21:10:20 UTC (rev 436607)
@@ -0,0 +1,28 @@
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=intel-ucode
+pkgver=20220207
+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=('532527bd17f3ea6664452b536699818a3bf896e4ace689a43a73624711b7c921')
+
+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