mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-15 23:59:25 +01:00
fix-kernel-install.bash: pass the -v flag to kernel-install
This commit is contained in:
parent
6046dfbb4c
commit
530467d73c
@ -28,14 +28,14 @@ if [ -f /etc/machine-id ]; then
|
||||
else
|
||||
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 kernel-install -v add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
|
||||
#printf "\tsudo dnf reinstall kernel-core-%b -y\n" "$EXPECTEDKERNEL"
|
||||
printf "Please note that Lumina and Sedric have moved to UKI.\n"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "New kernel? Just in case, try sudo kernel-install add $(uname -r) # although using the actual new kernel version"
|
||||
echo "Alternatively sudo kernel-install add-all"
|
||||
echo "New kernel? Just in case, try sudo kernel-install -v add $(uname -r) # although using the actual new kernel version"
|
||||
echo "Alternatively sudo kernel-install -v add-all"
|
||||
|
||||
#set +x
|
||||
|
Loading…
Reference in New Issue
Block a user