[arch-commits] Commit in intel-ucode/trunk (PKGBUILD intel-ucode.install)

Christian Hesse eworm at archlinux.org
Sat Jul 9 19:34:14 UTC 2016


    Date: Saturday, July 9, 2016 @ 19:34:14
  Author: eworm
Revision: 271236

upgpkg: intel-ucode 20160607-2

remove microcode for Intel Skylake CPUs with signature 0x406e3 (FS#49806)

Modified:
  intel-ucode/trunk/PKGBUILD
  intel-ucode/trunk/intel-ucode.install

---------------------+
 PKGBUILD            |   13 ++++++++++++-
 intel-ucode.install |    3 ++-
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-09 18:19:26 UTC (rev 271235)
+++ PKGBUILD	2016-07-09 19:34:14 UTC (rev 271236)
@@ -3,7 +3,7 @@
 
 pkgname=intel-ucode
 pkgver=20160607
-pkgrel=1
+pkgrel=2
 pkgdesc="Microcode update files for Intel CPUs"
 arch=('any')
 install=$pkgname.install
@@ -18,9 +18,20 @@
 sha256sums=('db821eb47af2caa39613caee0eb89a9584b2ebc4a9ab1b9624fe778f9a41fa7d'
             '6983e83ec10c6467fb9101ea496e0443f0574c805907155118e2c9f0bbea97b6'
             '03a13a966316a4d3d9c7e1b46007fd4b80911aea5ddd957ddf33ce660efe03de')
+prepare() {
+  cd "$srcdir"
+
+  # Some Intel Skylake CPUs with signature 0x406e3 have issues updating
+  # microcode. Remove for now...
+  # https://bugs.archlinux.org/task/49806
+  sed -i -e "/mc0406e3/,/mc/d" microcode.dat
+}
+
 build() {
   cd "$srcdir"
+
   gcc -Wall ${CFLAGS} -o intel-microcode2ucode intel-microcode2ucode.c
+
   ./intel-microcode2ucode ./microcode.dat
 }
 

Modified: intel-ucode.install
===================================================================
--- intel-ucode.install	2016-07-09 18:19:26 UTC (rev 271235)
+++ intel-ucode.install	2016-07-09 19:34:14 UTC (rev 271236)
@@ -7,6 +7,7 @@
     echo " /boot/intel-ucode.img"
     echo "as the first initrd to your bootloader."
     echo
-    echo "For more information, see https://wiki.archlinux.org/index.php/Microcode#Enabling_Intel_Microcode_Updates"
+    echo "For more information, see:"
+    echo "https://wiki.archlinux.org/index.php/Microcode#Enabling_Intel_Microcode_Updates"
   fi
 }



More information about the arch-commits mailing list