diff options
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 |