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 4e29eb8f51
commit 115186c53c

View file

@ -113,7 +113,8 @@ fi
# it's just been updated)
base_ver=$(get_kernel_version)
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 {
local _i