aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-05-03 09:05:25 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-05-29 23:50:34 +0200
commita77633d36defe79d303d79397aa859319a354aac (patch)
tree9a044bd6cb4f7715a7b56e6ce548aee0229170d9 /target/linux/sunxi/base-files/lib/upgrade/platform.sh
parent19b84cfff26e4feae8ce4bbbb76567474d975d59 (diff)
downloadupstream-a77633d36defe79d303d79397aa859319a354aac.tar.gz
upstream-a77633d36defe79d303d79397aa859319a354aac.tar.bz2
upstream-a77633d36defe79d303d79397aa859319a354aac.zip
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>
Diffstat (limited to 'target/linux/sunxi/base-files/lib/upgrade/platform.sh')
0 files changed, 0 insertions, 0 deletions