mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-21 06:13:33 +08:00
Running 'sudo rpi-eeprom-update' will remove update files from the boot partition. Since the user may run this command to check if an update is required it will have the surprising side effect of removing the pending update applied by the systemd service which runs 'rpi-eeprom-update -a' at startup. Move the cleanup code so that it only runs if a manual or automatic update was requested. Add an explicit option (-r) to just remove the previous update files.
18 KiB
Executable File
18 KiB
Executable File