mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
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:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user