mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 22:44:38 +08:00
15 lines
598 B
Plaintext
15 lines
598 B
Plaintext
|
## arg 1: the new package version
|
||
|
## arg 2: the old package version
|
||
|
post_upgrade() {
|
||
|
if [ $(vercmp $2 20140913) -lt 0 ]; then
|
||
|
echo "Intel CPU ucode upgrades are no longer performed by the firmware loader."
|
||
|
echo "If you want to update the Intel CPU ucode on boot, add the file"
|
||
|
echo " /boot/intel-ucode.img"
|
||
|
echo "as the first initrd to your bootloader."
|
||
|
echo "For grub, you only have to run"
|
||
|
echo "grub-mkconfig -o /boot/grub/grub.cfg"
|
||
|
echo
|
||
|
echo "For other bootloaders, see https://wiki.archlinux.org/index.php/Microcode#Enabling_Intel_Microcode_Updates"
|
||
|
fi
|
||
|
}
|