intel-ucode build the correct kernel

This commit is contained in:
almack 2016-11-09 23:33:16 +00:00
parent 62a7a856ba
commit e516a591b0
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
}