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>
This commit is contained in:
Matthias Schiffer
2017-07-10 18:37:25 +02:00
parent f464da623d
commit 438dcbfe74
10 changed files with 40 additions and 46 deletions

View File

@@ -1,5 +1,5 @@
REQUIRE_IMAGE_METADATA=1
RAMFS_COPY_BIN=/usr/sbin/nandwrite
RAMFS_COPY_BIN='nandwrite'
CI_KERNPART=none
platform_check_image() {