This commit is contained in:
milisbir 2018-01-11 17:43:24 +02:00
parent a53cf607c5
commit abc14e9fac
2 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,5 @@
#! /bin/sh #! /bin/sh
if [ -f /boot/grub/grub.cfg ];then
mv /boot/grub/grub.cfg /boot/grub/grub.cfg.eski
fi
grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg

View File

@ -4,5 +4,7 @@ exit 1
mps guncelle mps guncelle
[ ! -d /var/lib/pkg/DB/iucode-tool ] && mps kur iucode-tool [ ! -d /var/lib/pkg/DB/iucode-tool ] && mps kur iucode-tool
[ "`mps bil surum intel-ucode`" <> "2.1.15" ] && mps -g intel-ucode [ "`mps bil surum intel-ucode`" <> "2.1.15" ] && mps -g intel-ucode
echo "early_microcode=yes" >> /usr/lib/dracut/dracut.conf.d/intel_ucode.conf
iucode_tool -S --write-earlyfw=/boot/guncel_ucode.cpio /lib/firmware/intel-ucode/* iucode_tool -S --write-earlyfw=/boot/guncel_ucode.cpio /lib/firmware/intel-ucode/*
# gruba eklenecek, initramfs_guncelle
grub-guncelle