We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff73f5e commit 425469cCopy full SHA for 425469c
kernel-template-postinst
@@ -2,7 +2,7 @@
2
if [ -x /usr/bin/dracut ]; then
3
for i in `ls /usr/lib/modules | grep -v 'extramodules'`; do
4
echo -e "\033[36m**\033[0m\tGenerating initrd (Initialization RAM Disk) for kernel version $i ..."
5
- dracut -q /boot/initramfs-$i.img $i
+ dracut -q --force /boot/initramfs-$i.img $i
6
done
7
else
8
echo -e "\033[33m**\033[0m\tCommand \"dracut\" is not installed, skipping generation.\n\tYou may not be able to boot the new kernel on the next boot."
0 commit comments