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)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 22 Aug 2019 11:47:51 +0000 (13:47 +0200)
commitb6f4cd57e19a8cfcd9ff52582b65164ce6213c3d
tree35d7185909c4cbc7b44b028e0e551b07aff26b13
parentb534ba96110012d2697d19d71b7dcd60bd4cd375
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>
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