summaryrefslogtreecommitdiffstats
path: root/root/linux/upgrade.sh
diff options
context:
space:
mode:
Diffstat (limited to 'root/linux/upgrade.sh')
-rwxr-xr-xroot/linux/upgrade.sh3
1 files changed, 1 insertions, 2 deletions
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