mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Check for kernel7l or kernel8 for pi4 support
Latest 64-bit OS doesn't ship kernel7l
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user