Check for kernel7l or kernel8 for pi4 support

Latest 64-bit OS doesn't ship kernel7l
This commit is contained in:
popcornmix
2021-01-13 16:22:07 +00:00
parent 06a1d9a641
commit cefa51e73b

View File

@@ -412,7 +412,7 @@ function do_backup {
}
function do_update {
if [ -f ${FW_PATH}/kernel7l.img ]; then
if [ -f ${FW_PATH}/kernel7l.img ] || [ -f ${FW_PATH}/kernel8.img ]; then
WANT_PI4=1
fi
if [[ ${WANT_PI4} -eq 1 ]]; then