diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-07-25 19:48:00 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-07-25 19:48:00 +0200 |
commit | 5d297731865ab6e4df01fa3eb07c86adb6b3aba7 (patch) | |
tree | a3a638354d039465815a3a78526e73711009b59e /root | |
parent | Merge branch 'master' of ssh://ni/var/lib/git/sijanec/n (diff) | |
download | n-5d297731865ab6e4df01fa3eb07c86adb6b3aba7.tar n-5d297731865ab6e4df01fa3eb07c86adb6b3aba7.tar.gz n-5d297731865ab6e4df01fa3eb07c86adb6b3aba7.tar.bz2 n-5d297731865ab6e4df01fa3eb07c86adb6b3aba7.tar.lz n-5d297731865ab6e4df01fa3eb07c86adb6b3aba7.tar.xz n-5d297731865ab6e4df01fa3eb07c86adb6b3aba7.tar.zst n-5d297731865ab6e4df01fa3eb07c86adb6b3aba7.zip |
Diffstat (limited to 'root')
-rwxr-xr-x | root/linux/dist.sh | 3 | ||||
-rwxr-xr-x | root/linux/upgrade.sh | 3 |
2 files changed, 2 insertions, 4 deletions
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 |