mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Copy start.elf when installing an older firmware
This commit is contained in:
@@ -90,6 +90,9 @@ function update_firmware {
|
||||
}
|
||||
|
||||
function finalise {
|
||||
if [[ -f "${FW_PATH}/arm192_start.elf" ]]; then
|
||||
cp "${FW_PATH}/arm192_start.elf" "${FW_PATH}/start.elf"
|
||||
fi
|
||||
ldconfig -r "${ROOT_PATH}"
|
||||
eval ${GITCMD} rev-parse master > "${FW_PATH}/.firmware_revision"
|
||||
sync
|
||||
|
||||
Reference in New Issue
Block a user