From abc14e9facaae5d35ebc9a18e421d2439caa1899 Mon Sep 17 00:00:00 2001 From: milisbir Date: Thu, 11 Jan 2018 17:43:24 +0200 Subject: [PATCH] guncel --- bin/grub-guncelle | 3 +++ bin/intel-ucode_guncelle.sh | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/grub-guncelle b/bin/grub-guncelle index c2f27d83a..9d560baef 100755 --- a/bin/grub-guncelle +++ b/bin/grub-guncelle @@ -1,2 +1,5 @@ #! /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 diff --git a/bin/intel-ucode_guncelle.sh b/bin/intel-ucode_guncelle.sh index b20771661..4a5fbb7a4 100755 --- a/bin/intel-ucode_guncelle.sh +++ b/bin/intel-ucode_guncelle.sh @@ -4,5 +4,7 @@ exit 1 mps guncelle [ ! -d /var/lib/pkg/DB/iucode-tool ] && mps kur iucode-tool [ "`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/* -# gruba eklenecek, +initramfs_guncelle +grub-guncelle