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)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:43:05 +0000 (13:43 +0200)
commit2c77562af89a4b3f21be2e745a13cb647bfb7234
tree64dd9f9869ecb1a7bf395fb533a6ba23821290d4
parentf25d164aca80ff7c21ebb99b95e5f7db11fe21b3
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/apm821xx/base-files/lib/upgrade/wdbook.sh
target/linux/brcm2708/base-files/lib/upgrade/platform.sh
target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
target/linux/omap/base-files/lib/upgrade/platform.sh
target/linux/sunxi/base-files/lib/upgrade/platform.sh
target/linux/tegra/base-files/lib/upgrade/platform.sh
target/linux/x86/base-files/lib/upgrade/platform.sh