treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method
authorRafał Miłecki <rafal@milecki.pl>
Fri, 16 Aug 2019 15:02:58 +0000 (17:02 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 13 Sep 2019 20:11:12 +0000 (16:11 -0400)
commitc39fff3397016d663321c7763b13a550c202219a
treef449669fad49b2d9d48fb1e63ce1ace135d5d536
parentccb4e1cbd5c0d0082c3d206dfff9e4769cc88e29
treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method

This explicitly lets stage2 know if partitions should be preserved. No
more "touch /tmp/sysupgrade.always.overwrite.bootdisk.partmap" hack.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit b6f4cd57e19a8cfcd9ff52582b65164ce6213c3d)
package/base-files/files/lib/upgrade/stage2
package/base-files/files/sbin/sysupgrade
target/linux/sunxi/base-files/lib/upgrade/platform.sh
target/linux/x86/base-files/lib/upgrade/platform.sh