mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:47:13 +08:00
update intel-ucode
This commit is contained in:
parent
2d4c74df03
commit
d70082ce8d
@ -2,7 +2,7 @@
|
||||
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/intel-ucode
|
||||
|
||||
pkgname=intel-ucode
|
||||
pkgver=20140913
|
||||
pkgver=20150121
|
||||
pkgrel=1
|
||||
pkgdesc="Microcode update files for Intel CPUs"
|
||||
arch=('any')
|
||||
@ -10,14 +10,13 @@ url="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22micro
|
||||
replaces=('microcode_ctl')
|
||||
license=('custom')
|
||||
# Some random "download id" that intel has in their downloadcenter
|
||||
_dlid=24290
|
||||
_dlid=24661
|
||||
source=(http://downloadmirror.intel.com/${_dlid}/eng/microcode-${pkgver}.tgz
|
||||
LICENSE
|
||||
intel-microcode2ucode.c)
|
||||
md5sums=('d589dbdbc1b0498f95a6702e46569998'
|
||||
'b0f489ae4b3e36dc8827dc53a76047aa'
|
||||
'0efc5f6c74a4d7e61ca22683c93c98cf')
|
||||
|
||||
sha256sums=('23353b93bb421971496cea5e9f9d390ce0ed22580a8cc45ae7b3b322dcd8f6b3'
|
||||
'6983e83ec10c6467fb9101ea496e0443f0574c805907155118e2c9f0bbea97b6'
|
||||
'c51b1b1d8b4b28e7d5d007917c1e444af1a2ff04a9408aa9067c0e57d70164de')
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
gcc -Wall ${CFLAGS} -o intel-microcode2ucode intel-microcode2ucode.c
|
||||
@ -25,6 +24,9 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
# for packagers who want to update:
|
||||
# We don't use same method as arch linux for microcode
|
||||
# copy it to /usr/lib/firmware/intel-ucode/ is the right way to go for chakra
|
||||
cd "$srcdir"
|
||||
install -d -m755 "${pkgdir}"/usr/lib/firmware/intel-ucode/
|
||||
cp intel-ucode/* "${pkgdir}"/usr/lib/firmware/intel-ucode/
|
||||
|
Loading…
Reference in New Issue
Block a user