diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-07-10 18:37:25 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-07-11 17:26:32 +0200 |
commit | 438dcbfe74a6da1a8949d8fb785092d934499b60 (patch) | |
tree | 0f455ad4fd7d82cbe7c037afd27d9e9ca9537d12 /target/linux/mvebu/base-files/lib | |
parent | f464da623db1a53231e5f7d54a51e355c0d32dff (diff) | |
download | upstream-438dcbfe74a6da1a8949d8fb785092d934499b60.tar.gz upstream-438dcbfe74a6da1a8949d8fb785092d934499b60.tar.bz2 upstream-438dcbfe74a6da1a8949d8fb785092d934499b60.zip |
base-files: automatically handle paths and symlinks for RAMFS_COPY_BIN
Depending on busybox applet selection, paths of basic utiilties may differ,
and may not work as symlinks to busybox. Simply using whatever binary is
found in PATH and detecting symlinks automatically is more robust and
easier to maintain.
The list of binaries is also slightly cleaned up and duplicates are
removed.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'target/linux/mvebu/base-files/lib')
-rwxr-xr-x | target/linux/mvebu/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/base-files/lib/upgrade/platform.sh index 8085634dca..dd21c0958e 100755 --- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh @@ -5,7 +5,7 @@ . /lib/mvebu.sh -RAMFS_COPY_BIN='/usr/sbin/fw_printenv /usr/sbin/fw_setenv' +RAMFS_COPY_BIN='fw_printenv fw_setenv' RAMFS_COPY_DATA='/lib/mvebu.sh /etc/fw_env.config /var/lock/fw_printenv.lock' REQUIRE_IMAGE_METADATA=1 |