wok-next diff amd-microcode/receipt @ rev 21678
updated getmail (4.41.0 -> 5.14)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 13:44:08 2020 +0100 (2020-06-29) |
parents | 0e7893ac206d |
children |
line diff
1.1 --- a/amd-microcode/receipt Sat Feb 24 16:17:33 2018 +0200 1.2 +++ b/amd-microcode/receipt Mon Jun 29 13:44:08 2020 +0100 1.3 @@ -8,6 +8,9 @@ 1.4 LICENSE="unknown" 1.5 WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/postlfs/firmware.html#and-microcode" # yes, "and" is typo 1.6 # See also: https://wiki.gentoo.org/wiki/AMD_microcode 1.7 +HOST_ARCH="any" 1.8 + 1.9 +DEPENDS_std="linux" 1.10 1.11 compile_rules() { 1.12 mkdir -p $install/lib/firmware/amd-ucode 1.13 @@ -23,12 +26,7 @@ 1.14 done 1.15 } 1.16 1.17 -genpkg_rules() { 1.18 - copy @std 1.19 - DEPENDS="linux" 1.20 -} 1.21 - 1.22 -post_install_amd_microcode() { 1.23 +post_install() { 1.24 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then 1.25 echo 1 > /sys/devices/system/cpu/microcode/reload 1.26 fi