ar71xx: Use sysupgrade's RAMFS_COPY_* for fw_(set|print)env
authorSven Eckelmann <sven.eckelmann@openmesh.com>
Mon, 1 Oct 2018 10:27:25 +0000 (12:27 +0200)
committerMathias Kresin <dev@kresin.me>
Sun, 7 Oct 2018 13:44:19 +0000 (15:44 +0200)
commit11d51276b1b0ac6a556a776374ca3de07b062e29
treeb05a5a078aebe5c88485690844737e3c9c28e7c6
parentb09992a7d912005050db22e6034f6342534753b0
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 <sven.eckelmann@openmesh.com>
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