From c3f48df94b97cdf5b99e41c1b30a406bb9315746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Predrag=20Ivanovi=C4=87?= Date: Thu, 22 Feb 2018 15:17:28 +0100 Subject: [PATCH] intel-ucode: new port --- intel-ucode/.footprint | 2 ++ intel-ucode/.md5sum | 1 + intel-ucode/.signature | 5 +++++ intel-ucode/Pkgfile | 15 +++++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 intel-ucode/.footprint create mode 100644 intel-ucode/.md5sum create mode 100644 intel-ucode/.signature create mode 100644 intel-ucode/Pkgfile diff --git a/intel-ucode/.footprint b/intel-ucode/.footprint new file mode 100644 index 000000000..dce1a0dd6 --- /dev/null +++ b/intel-ucode/.footprint @@ -0,0 +1,2 @@ +drwxr-xr-x root/root boot/ +-rw-r--r-- root/root boot/early-ucode.cpio diff --git a/intel-ucode/.md5sum b/intel-ucode/.md5sum new file mode 100644 index 000000000..685783484 --- /dev/null +++ b/intel-ucode/.md5sum @@ -0,0 +1 @@ +b294245d1f7f6c20f01edba53185f258 microcode-20171117.tgz diff --git a/intel-ucode/.signature b/intel-ucode/.signature new file mode 100644 index 000000000..3e399c066 --- /dev/null +++ b/intel-ucode/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF36zKxa7uXI6FDeUm+Ae/x4po0c3xJn5jZ5eBAm9CmUELvIQ3dceq6AUAiJrNcZ910+HqQDGu3xjkppMYit4JnwA= +SHA256 (Pkgfile) = 0a91a9702442a4897e1def14c928cb0b49cf0609b0bd7a534f44e5347f1ee40b +SHA256 (.footprint) = 45cbe6146ee529f5d7fc3c4dcbb9c56420b2950c372d4196867ff304578bb771 +SHA256 (microcode-20171117.tgz) = 93bd1da9fa58ece0016702e657f708b7e496e56da637a3fe9a6d21f1d6f524dc diff --git a/intel-ucode/Pkgfile b/intel-ucode/Pkgfile new file mode 100644 index 000000000..12461b736 --- /dev/null +++ b/intel-ucode/Pkgfile @@ -0,0 +1,15 @@ +# Description: Intel CPU microcode update +# URL: https://downloadcenter.intel.com/download/24661/Linux-Processor-Microcode-Data-File +# Maintainer: Pedja, predivan at mts dot rs +# Depends on: iucode-tool + +name=intel-ucode +version=20171117 +release=1 +source=(https://downloadmirror.intel.com/27337/eng/microcode-$version.tgz) + +build() { + install -d -m755 $PKG/boot + /usr/sbin/iucode_tool --write-earlyfw=early-ucode.cpio microcode.dat + install -m644 early-ucode.cpio $PKG/boot/early-ucode.cpio +}