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)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 13 Sep 2019 20:10:30 +0000 (16:10 -0400)
commitccb4e1cbd5c0d0082c3d206dfff9e4769cc88e29
tree803c623f09956d4193088165d74f86dc98a6e0d1
parent39d7c9157ea67291b2fa8f257abff4f1b935559c
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