rpi-eeprom-update: Don't display the cancel/revert message in flashrom mode

It's not possible to cancel an update via flashrom because it's
already happened.
This commit is contained in:
Tim Gover
2024-07-29 14:13:01 +01:00
parent d2979963b3
commit 132ad70437

View File

@@ -286,7 +286,10 @@ applyRecoveryUpdate()
echo "" echo ""
echo "EEPROM updates pending. Please reboot to apply the update." echo "EEPROM updates pending. Please reboot to apply the update."
echo "To cancel a pending update run \"sudo rpi-eeprom-update -r\"."
if [ "${RPI_EEPROM_USE_FLASHROM}" = 0 ]; then
echo "To cancel a pending update run \"sudo rpi-eeprom-update -r\"."
fi
} }
applyUpdate() { applyUpdate() {