treewide: use new procd sysupgrade $UPGRADE_BACKUP variable
authorRafał Miłecki <rafal@milecki.pl>
Thu, 5 Sep 2019 21:33:19 +0000 (23:33 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 12 Sep 2019 11:27:29 +0000 (13:27 +0200)
commita717428828558577760abfcf83a54e3d7459ee0b
tree40460adc1ed60cf2ab8762a3cd7df3dead0015f4
parent1b9a4f0cb48acb91a8765d1d8715077b9846e39e
treewide: use new procd sysupgrade $UPGRADE_BACKUP variable

It's a variable set by procd that should replace hardcoded
/tmp/sysupgrade.tgz.

This change requires the most recent procd with the commit 0f3c136
("sysupgrade: set UPGRADE_BACKUP env variable").

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 641f6b6c26cb9ab5e1198810015e5f4b2b5b34ad)
21 files changed:
package/base-files/files/lib/upgrade/common.sh
package/base-files/files/lib/upgrade/stage2
target/linux/apm821xx/base-files/lib/upgrade/wdbook.sh
target/linux/ar71xx/base-files/lib/upgrade/dir825.sh
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/ath25/base-files/lib/upgrade/platform.sh
target/linux/ath79/base-files/lib/upgrade/platform.sh
target/linux/brcm2708/base-files/lib/upgrade/platform.sh
target/linux/imx6/base-files/lib/upgrade/platform.sh
target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh
target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
target/linux/mediatek/base-files/lib/upgrade/platform.sh
target/linux/mvebu/base-files/lib/upgrade/linksys.sh
target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
target/linux/octeon/base-files/lib/upgrade/platform.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