Ubuntu kernels is not at /boot/kernel.img. Revisit for Raspbian

check running kernel agree with installed kernel, and ask the user to reboot before continue

Ubuntu kernels are not installed at /boot/kernel.img
This commit is contained in:
Hin-Tak Leung 2020-08-23 18:52:11 +01:00
parent 5cefec4cca
commit 60e90d6fae

View file

@ -113,7 +113,8 @@ fi
# it's just been updated) # it's just been updated)
base_ver=$(get_kernel_version) base_ver=$(get_kernel_version)
base_ver=${base_ver%%[-+]*} base_ver=${base_ver%%[-+]*}
kernels="${base_ver}+ ${base_ver}-v7+ ${base_ver}-v7l+" #kernels="${base_ver}+ ${base_ver}-v7+ ${base_ver}-v7l+"
kernels=$(uname -r)
function install_module { function install_module {
local _i local _i