mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:47:17 +08:00
update intel-ucode
This commit is contained in:
parent
08d4696553
commit
bdf949e2b3
@ -2,22 +2,31 @@
|
||||
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/intel-ucode
|
||||
|
||||
pkgname=intel-ucode
|
||||
pkgver=20151106
|
||||
pkgrel=5
|
||||
pkgver=20160607
|
||||
pkgrel=1
|
||||
pkgdesc="Microcode update files for Intel CPUs"
|
||||
arch=('any')
|
||||
install=$pkgname.install
|
||||
url="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22"
|
||||
replaces=('microcode_ctl')
|
||||
license=('custom')
|
||||
# Some random "download id" that intel has in their downloadcenter
|
||||
_dlid=25512
|
||||
_dlid=26083
|
||||
source=(http://downloadmirror.intel.com/${_dlid}/eng/microcode-${pkgver}.tgz
|
||||
LICENSE
|
||||
intel-microcode2ucode.c)
|
||||
sha256sums=('096e39489eef67666be652e81fa372a06b74f39ea3d565dc0287242c668717e7'
|
||||
sha256sums=('db821eb47af2caa39613caee0eb89a9584b2ebc4a9ab1b9624fe778f9a41fa7d'
|
||||
'6983e83ec10c6467fb9101ea496e0443f0574c805907155118e2c9f0bbea97b6'
|
||||
'c51b1b1d8b4b28e7d5d007917c1e444af1a2ff04a9408aa9067c0e57d70164de')
|
||||
install=$pkgname.install
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user