base-files: automatically handle paths and symlinks for RAMFS_COPY_BIN
[openwrt/staging/luka.git] / target / linux / rb532 / base-files / lib / upgrade / platform.sh
index 29fe18de30411c9c75e1faf8c7542a8ef2548be4..bfa73a7a246da01f99cedd6eee92cebd354f2e7f 100644 (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() {