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

Christian Hesse eworm at archlinux.org
Thu May 21 19:14:31 UTC 2020


    Date: Thursday, May 21, 2020 @ 19:14:30
  Author: eworm
Revision: 387371

archrelease: copy trunk to testing-any

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

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

Copied: intel-ucode/repos/testing-any/PKGBUILD (from rev 387370, intel-ucode/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-05-21 19:14:30 UTC (rev 387371)
@@ -0,0 +1,36 @@
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=intel-ucode
+pkgver=20200520
+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"
+        'intel-ucode-06-55-04::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/blob/5ada2f32ed7d216e38823f1320358e4679941990/intel-ucode/06-55-04?raw=true')
+sha256sums=('02a3b84ce9224ec297b1cd7bc2b2eda36dd3f2d374dd810fe3f9e82362e321fe'
+            '3f25e42edc1cd43c1f0a08899c6b5a92cc1a9450a013d73fc56294e7081f7307')
+
+prepare() {
+  # https://bugs.archlinux.org/task/64498
+  # https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/issues/21
+  install -m0644 intel-ucode-06-55-04 Intel-Linux-Processor-Microcode-Data-Files-microcode-${pkgver/./}/intel-ucode/06-55-04
+}
+
+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