base-files: pass "save_config" option to the "sysupgrade" method
authorRafał Miłecki <rafal@milecki.pl>
Fri, 16 Aug 2019 14:54:38 +0000 (16:54 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:42:40 +0000 (13:42 +0200)
commitf25d164aca80ff7c21ebb99b95e5f7db11fe21b3
tree72152d9f555a00b14b656bbe097fae2ce85ebb76
parent4e85dc95b02878f36d19a142f0eb26fd92abdbc1
base-files: pass "save_config" option to the "sysupgrade" method

This explicitly lets stage2 know if config should be preserved.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit b534ba96110012d2697d19d71b7dcd60bd4cd375)
package/base-files/files/lib/upgrade/common.sh
package/base-files/files/lib/upgrade/do_stage2
package/base-files/files/lib/upgrade/stage2
package/base-files/files/sbin/sysupgrade