treewide: don't hardcode "sysupgrade.tgz" file name
authorRafał Miłecki <rafal@milecki.pl>
Wed, 4 Sep 2019 14:57:39 +0000 (16:57 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 5 Sep 2019 12:33:19 +0000 (14:33 +0200)
commitbf390478727ac5f4f9d6fb684de48b8150bcec67
treecd19a4cb1b41476edf17cca11807c92541c8eb19
parent1078de96e315f3cc2675b2c5935009e8c6159ad4
treewide: don't hardcode "sysupgrade.tgz" file name

1) Add BACKUP_FILE and use it when copying an archive to be restored
   after sysupgrade (on the next preinit).
2) Use CONF_TAR for copying backup prepared by the /sbin/sysupgrade

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
17 files changed:
package/base-files/files/lib/upgrade/common.sh
package/base-files/files/lib/upgrade/nand.sh
target/linux/apm821xx/base-files/lib/preinit/79_move_config
target/linux/brcm2708/base-files/lib/preinit/79_move_config
target/linux/imx6/base-files/lib/preinit/79_move_config
target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
target/linux/mediatek/base-files/lib/preinit/79_move_config
target/linux/mvebu/base-files/lib/preinit/79_move_config
target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg
target/linux/mvebu/base-files/lib/preinit/82_uDPU
target/linux/mvebu/base-files/lib/upgrade/linksys.sh
target/linux/mvebu/base-files/lib/upgrade/uDPU.sh
target/linux/octeon/base-files/lib/preinit/79_move_config
target/linux/omap/base-files/lib/preinit/79_move_config
target/linux/sunxi/base-files/lib/preinit/79_move_config
target/linux/tegra/base-files/lib/preinit/79_move_config
target/linux/x86/base-files/lib/preinit/79_move_config