wok-current rev 22952
updated intel-microcode (20180807a -> 20191115)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 14:42:39 2020 +0100 (2020-02-28) |
parents | 349cebfc7da3 |
children | 4fa6f2bddd14 |
files | intel-microcode/receipt |
line diff
1.1 --- a/intel-microcode/receipt Fri Feb 28 14:39:39 2020 +0100 1.2 +++ b/intel-microcode/receipt Fri Feb 28 14:42:39 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="intel-microcode" 1.7 -VERSION="20180807a" 1.8 +VERSION="20191115" 1.9 CATEGORY="kernel" 1.10 SHORT_DESC="Intel processor microcode update for Linux." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -11,8 +11,8 @@ 1.13 # and https://www.archlinux.org/packages/extra/any/intel-ucode/ 1.14 1.15 1.16 -TARBALL="$PACKAGE-$VERSION.tgz" 1.17 -WGET_URL="https://downloadmirror.intel.com/28087/eng/microcode-$VERSION.tgz" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 +WGET_URL="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$VERSION.tar.gz" 1.20 1.21 DEPENDS="linux" 1.22 1.23 @@ -20,19 +20,20 @@ 1.24 { 1.25 mkdir -p $install/lib/firmware/ 1.26 1.27 - cp -r $src/intel-ucode/ $install/lib/firmware/ 1.28 + cp -r $src/intel-ucode/ $install/lib/firmware/ 1.29 1.30 - install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE 1.31 + install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE 1.32 } 1.33 1.34 genpkg_rules() 1.35 { 1.36 - cp -r $install/* $fs 1.37 + cp -r $install/* $fs 1.38 } 1.39 1.40 post_install() 1.41 { 1.42 - if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then 1.43 + if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ] 1.44 + then 1.45 echo 1 > /sys/devices/system/cpu/microcode/reload 1.46 fi 1.47 }