From 5d297731865ab6e4df01fa3eb07c86adb6b3aba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 25 Jul 2023 19:48:00 +0200 Subject: b --- etc/dracut.conf.d/anton.conf | 2 +- root/linux/dist.sh | 3 +-- root/linux/upgrade.sh | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/etc/dracut.conf.d/anton.conf b/etc/dracut.conf.d/anton.conf index 1cd033b..df63fcd 100644 --- a/etc/dracut.conf.d/anton.conf +++ b/etc/dracut.conf.d/anton.conf @@ -1 +1 @@ -install_items="/lib/firmware/regulatory.db /lib/firmware/regulatory.db.p7s /lib/firmware/i915/tgl_dmc_ver2_12.bin /lib/firmware/intel/ibt-19-0-4.sfi /lib/firmware/intel/ibt-19-0-4.ddc /lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode /lib/firmware/ath9k_htc/htc_9271-1.4.0.fw" +install_items+=" /lib/firmware/regulatory.db /lib/firmware/regulatory.db.p7s /lib/firmware/i915/tgl_dmc_ver2_12.bin /lib/firmware/intel/ibt-19-0-4.sfi /lib/firmware/intel/ibt-19-0-4.ddc /lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode /lib/firmware/ath9k_htc/htc_9271-1.4.0.fw " diff --git a/root/linux/dist.sh b/root/linux/dist.sh index e4d3b23..6538073 100755 --- a/root/linux/dist.sh +++ b/root/linux/dist.sh @@ -5,8 +5,7 @@ m=`cut -d- -f2- <<<$k` p=`rev <<<$0 | cut -d/ -f1 | rev` d=`mktemp -d -p "" $p.XXX` pushd $d -dracut $m -mv $m /boot/initramfs-$m.img +dracut --force --kver $m /boot/initramfs-$m.img grub-mkconfig -o /boot/grub/grub.cfg popd rm -fr $d diff --git a/root/linux/upgrade.sh b/root/linux/upgrade.sh index 84a5354..ee6a474 100755 --- a/root/linux/upgrade.sh +++ b/root/linux/upgrade.sh @@ -11,6 +11,5 @@ make modules make install make modules_install m=`cut -d- -f2- <<<$k` -dracut $m -mv $m /boot/initramfs-$m.img +dracut --force --kver $m /boot/initramfs-$m.img grub-mkconfig > /boot/grub/grub.cfg -- cgit v1.2.3