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

Christian Hesse eworm at archlinux.org
Sat Aug 25 08:21:43 UTC 2018


    Date: Saturday, August 25, 2018 @ 08:21:43
  Author: eworm
Revision: 332996

archrelease: copy trunk to testing-any

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

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

Copied: intel-ucode/repos/testing-any/PKGBUILD (from rev 332995, intel-ucode/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-08-25 08:21:43 UTC (rev 332996)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=intel-ucode
+pkgver=20180807
+# Some random "download id" that intel has in their downloadcenter
+_dlid=28039
+pkgrel=2
+pkgdesc='Microcode update files for Intel CPUs'
+arch=('any')
+url='https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=processor%20microcode%20data%20file'
+replaces=('microcode_ctl')
+makedepends=('iucode-tool')
+license=('custom')
+source=("https://downloadmirror.intel.com/${_dlid}/eng/microcode-${pkgver}.tgz")
+sha256sums=('29f9e8dc27e6c9b6488cecd7fe2394030307799e511db2d197d9e6553a7f9e40')
+
+build() {
+  cd "$srcdir"
+
+  rm -f intel-ucode{,-with-caveats}/list
+  mkdir -p kernel/x86/microcode
+  iucode_tool -w kernel/x86/microcode/GenuineIntel.bin intel-ucode{,-with-caveats}/
+  echo kernel/x86/microcode/GenuineIntel.bin | bsdcpio -o -H newc -R 0:0 > intel-ucode.img
+}
+
+package() {
+  cd "$srcdir"
+
+  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