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