wok diff intel-microcode/receipt @ rev 25553

Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 09 14:47:24 2023 +0000 (13 months ago)
parents 8ea0030e77cb
children 20ad21d5532c
line diff
     1.1 --- a/intel-microcode/receipt	Thu Sep 01 11:12:31 2022 +0000
     1.2 +++ b/intel-microcode/receipt	Sun Apr 09 14:47:24 2023 +0000
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="intel-microcode"
     1.7 -VERSION="20220207"
     1.8 +VERSION="20230214"
     1.9  CATEGORY="kernel"
    1.10  SHORT_DESC="Intel processor microcode update for Linux."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="other"
    1.13 -WEB_SITE="https://www.intel.com/content/www/us/en/download-center/home.html?keyword=processor+microcode+data+file"
    1.14 +WEB_SITE="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files"
    1.15  # See also: https://wiki.archlinux.org/index.php/Microcode
    1.16  # and https://www.archlinux.org/packages/extra/any/intel-ucode/
    1.17  
    1.18 @@ -16,12 +16,14 @@
    1.19  
    1.20  DEPENDS="linux"
    1.21  
    1.22 +# What is the latest version available today?
    1.23  current_version()
    1.24  {
    1.25  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.26  	sed '/archive.*tar/!d;s|.*/microcode-\(.*\).tar.*|\1|;q'
    1.27  }
    1.28  
    1.29 +# Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	mkdir -p $install/lib/firmware/
    1.33 @@ -31,11 +33,13 @@
    1.34  	install -Dm644 $stuff/LICENSE	$install/usr/share/licenses/$PACKAGE/LICENSE
    1.35  }
    1.36  
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  	cp -r $install/*	$fs
    1.41  }
    1.42  
    1.43 +# Pre and post install commands for Tazpkg.
    1.44  post_install()
    1.45  {
    1.46  	if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]