summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-07-10 18:37:25 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-07-11 17:26:32 +0200
commit438dcbfe74a6da1a8949d8fb785092d934499b60 (patch)
tree0f455ad4fd7d82cbe7c037afd27d9e9ca9537d12 /target/linux/bcm53xx
parentf464da623db1a53231e5f7d54a51e355c0d32dff (diff)
downloadmtk-20170518-438dcbfe74a6da1a8949d8fb785092d934499b60.zip
mtk-20170518-438dcbfe74a6da1a8949d8fb785092d934499b60.tar.gz
mtk-20170518-438dcbfe74a6da1a8949d8fb785092d934499b60.tar.bz2
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/bcm53xx')
-rw-r--r--target/linux/bcm53xx/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
index 6a9e495..1f778c7 100644
--- a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
@@ -1,4 +1,4 @@
-RAMFS_COPY_BIN='/usr/bin/osafeloader /usr/bin/oseama'
+RAMFS_COPY_BIN='osafeloader oseama'
PART_NAME=firmware