openwrtv4/target/linux/x86/base-files/lib/upgrade
Matthias Schiffer a77633d36d
x86: sysupgrade: refactor platform_do_upgrade
By returning early when no upgrade device can be found and handling the
SAVE_PARTITIONS=0 case differently, we can get rid of two levels of if.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-05-29 23:50:34 +02:00
..
platform.sh x86: sysupgrade: refactor platform_do_upgrade 2017-05-29 23:50:34 +02:00