fix-kernel-install.bash: add a forgotten step that wasn't the solution

This commit is contained in:
Aminda Suomalainen 2024-05-03 20:32:41 +03:00
parent 198643b487
commit 782a641459
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -29,6 +29,7 @@ if [ -f /etc/machine-id ]; then
printf "\nWARNING! Kernels mismatch! Suggested actions:\n"
printf "\tsudo mkdir /boot/%b/%b\n" "$MACHINEID" "$EXPECTEDKERNEL"
printf "\tsudo kernel-install add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
#printf "\tsudo dnf reinstall kernel-core-%b -y\n" "$EXPECTEDKERNEL"
fi
fi
fi