mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-21 22:04:43 +04:00
Writing the full image erases partitions the image lacks. Refuse that at upgrade time unless sysupgrade -p is given, so --force and failsafe cannot bypass it, and read MBR and GPT tables the same way everywhere. sysupgrade now exports SAVE_PARTITIONS to the image check and the -p help text mentions the erase. Signed-off-by: John Audia <therealgraysky@proton.me>