sunxi: sysupgrade: sync with x86
authorMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 4 May 2017 05:39:20 +0000 (07:39 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 29 May 2017 21:50:35 +0000 (23:50 +0200)
commitce06d2bd01a3dad1ac32230cd60bb779c96cec82
tree96176492b8b8ad23f8e80280e974c739c186e1d0
parent6bb7b873158853efe31d760e18667d3ff8343291
sunxi: sysupgrade: sync with x86

sunxi sysupgrade was based on the x86 implementation; sync fixes and other
changes from the current x86 version:

x86: fix sysupgrades on disks with 4k block size
x86: sysupgrade: move partition table change check to platform_check_image
x86: sysupgrade: refactor platform_do_upgrade
x86: sysupgrade: explicitly rescan disk after writing partition table

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
target/linux/sunxi/Makefile
target/linux/sunxi/base-files/lib/upgrade/platform.sh