mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 09:57:14 +08:00
intel-ucode build the correct kernel
This commit is contained in:
parent
62a7a856ba
commit
e516a591b0
@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=intel-ucode
|
||||
pkgver=20160714
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Microcode update files for Intel CPUs"
|
||||
arch=('any')
|
||||
install=$pkgname.install
|
||||
|
@ -33,10 +33,10 @@ post_upgrade() {
|
||||
echo ">>> If you are using non-default kernel, you should update kernel"
|
||||
echo ">>> manually"
|
||||
if [ -f etc/mkinitcpio.d/linux-CHAKRA.preset ]; then
|
||||
mkinitcpio -p linux
|
||||
mkinitcpio -p linux-CHAKRA
|
||||
fi
|
||||
if [ -f etc/mkinitcpio.d/linux-CHAKRA-LTS.preset ]; then
|
||||
mkinitcpio -p linux-lts
|
||||
mkinitcpio -p linux-CHAKRA-LTS
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user