rpi-update: Also consider BOOT_PATH for start4.elf

You only actually need start.elf files in BOOT_PATH, not necessarily in FW_PATH
This commit is contained in:
Dom Cobley
2023-01-20 19:36:01 +00:00
parent 03c32f0340
commit 94a757bff9

View File

@@ -436,7 +436,7 @@ function do_update {
if [ -f ${FW_PATH}/kernel8.img ]; then if [ -f ${FW_PATH}/kernel8.img ]; then
WANT_64BIT=${WANT_64BIT:-1} WANT_64BIT=${WANT_64BIT:-1}
fi fi
if [ -f ${FW_PATH}/start4.elf ]; then if [ -f ${FW_PATH}/start4.elf ] || [ -f ${BOOT_PATH}/start4.elf ]; then
WANT_PI4=${WANT_PI4:-1} WANT_PI4=${WANT_PI4:-1}
fi fi
WANT_32BIT=${WANT_32BIT:-0} WANT_32BIT=${WANT_32BIT:-0}