wok-current view intel-microcode/receipt @ rev 20270
Up intel-microcode (27591) with final Spectre fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 17 17:15:50 2018 +0100 (2018-03-17) |
parents | 12473799110f |
children | 10c3a6f71c06 |
line source
1 # SliTaz package receipt.
3 PACKAGE="intel-microcode"
4 VERSION="20180312"
5 CATEGORY="kernel"
6 SHORT_DESC="Intel processor microcode update for Linux"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://downloadcenter.intel.com/search?keyword=processor+microcode+data+file"
10 # See also: https://wiki.archlinux.org/index.php/Microcode
11 # and https://www.archlinux.org/packages/extra/any/intel-ucode/
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="https://downloadmirror.intel.com/27591/eng/microcode-$VERSION.tgz"
17 DEPENDS="linux"
19 compile_rules() {
20 mkdir -p $install/lib/firmware/
21 cp -r $src/intel-ucode/ $install/lib/firmware/
23 install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE
24 }
26 genpkg_rules() {
27 cp -r $install/* $fs
28 }
30 post_install() {
31 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then
32 echo 1 > /sys/devices/system/cpu/microcode/reload
33 fi
34 }