# HG changeset patch # User Hans-G?nter Theisgen # Date 1582897359 -3600 # Node ID 4cdb6e72455c5682cdfdd1286d074a340fe79aef # Parent 349cebfc7da315a052d22f94e1e3f7355c872fd3 updated intel-microcode (20180807a -> 20191115) diff -r 349cebfc7da3 -r 4cdb6e72455c intel-microcode/receipt --- a/intel-microcode/receipt Fri Feb 28 14:39:39 2020 +0100 +++ b/intel-microcode/receipt Fri Feb 28 14:42:39 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="intel-microcode" -VERSION="20180807a" +VERSION="20191115" CATEGORY="kernel" SHORT_DESC="Intel processor microcode update for Linux." MAINTAINER="al.bobylev@gmail.com" @@ -11,8 +11,8 @@ # and https://www.archlinux.org/packages/extra/any/intel-ucode/ -TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="https://downloadmirror.intel.com/28087/eng/microcode-$VERSION.tgz" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$VERSION.tar.gz" DEPENDS="linux" @@ -20,19 +20,20 @@ { mkdir -p $install/lib/firmware/ - cp -r $src/intel-ucode/ $install/lib/firmware/ + cp -r $src/intel-ucode/ $install/lib/firmware/ - install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE + install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE } genpkg_rules() { - cp -r $install/* $fs + cp -r $install/* $fs } post_install() { - if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then + if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ] + then echo 1 > /sys/devices/system/cpu/microcode/reload fi }