ar71xx: Use sysupgrade's RAMFS_COPY_* for fw_(set|print)env
authorSven Eckelmann <[email protected]>
Mon, 1 Oct 2018 10:27:25 +0000 (12:27 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:48:04 +0000 (17:48 +0100)
commit5b0bee792b692fbd17715a064e7b534cbcad46f5
tree40014291b2292525348c5d2e1e2b7e41cb311abc
parent164c13145404cdfefc67da244d2a2c7721bf9b6e
ar71xx: Use sysupgrade's RAMFS_COPY_* for fw_(set|print)env

The install_bin from /lib/upgrade/common.sh is no longer creating the
symlinks when a secondary parameter is added. But the fw_setenv program was
always copied this way to the ramdisk for the upgrade.

Instead, this should be done using RAMFS_COPY_* like on all other
platforms.

Fixes: 438dcbfe74a6 ("base-files: automatically handle paths and symlinks for RAMFS_COPY_BIN")
Signed-off-by: Sven Eckelmann <[email protected]>
(backported from 11d51276b1b0ac6a556a776374ca3de07b062e29)
target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh