wok rev 21052

updated intel-microcode (20180312 -> 20180807a)
author Hans-G?nter Theisgen
date Wed Mar 13 14:10:27 2019 +0100 (2019-03-13)
parents f94b55b6f9d0
children bf9d3416304c
files intel-microcode/receipt
line diff
     1.1 --- a/intel-microcode/receipt	Wed Mar 13 13:59:18 2019 +0100
     1.2 +++ b/intel-microcode/receipt	Wed Mar 13 14:10:27 2019 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="intel-microcode"
     1.7 -VERSION="20180312"
     1.8 +VERSION="20180807a"
     1.9  CATEGORY="kernel"
    1.10 -SHORT_DESC="Intel processor microcode update for Linux"
    1.11 +SHORT_DESC="Intel processor microcode update for Linux."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="other"
    1.14  WEB_SITE="https://downloadcenter.intel.com/search?keyword=processor+microcode+data+file"
    1.15 @@ -11,23 +11,27 @@
    1.16  # and https://www.archlinux.org/packages/extra/any/intel-ucode/
    1.17  
    1.18  
    1.19 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 -WGET_URL="https://downloadmirror.intel.com/27591/eng/microcode-$VERSION.tgz"
    1.21 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.22 +WGET_URL="https://downloadmirror.intel.com/28087/eng/microcode-$VERSION.tgz"
    1.23  
    1.24  DEPENDS="linux"
    1.25  
    1.26 -compile_rules() {
    1.27 +compile_rules()
    1.28 +{
    1.29  	mkdir -p $install/lib/firmware/
    1.30 +
    1.31  	cp -r $src/intel-ucode/ $install/lib/firmware/
    1.32  
    1.33  	install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE
    1.34  }
    1.35  
    1.36 -genpkg_rules() {
    1.37 +genpkg_rules()
    1.38 +{
    1.39  	cp -r $install/* $fs
    1.40  }
    1.41  
    1.42 -post_install() {
    1.43 +post_install()
    1.44 +{
    1.45  	if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then
    1.46  		echo 1 > /sys/devices/system/cpu/microcode/reload
    1.47  	fi