[source] base-files: save /bin/mknod for sysupgrade

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 6 06:46:44 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/7304510392f53013e42d40974be47af3e2494bc7

commit 7304510392f53013e42d40974be47af3e2494bc7
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Jan 6 00:24:22 2017 +0100

    base-files: save /bin/mknod for sysupgrade
    
    It is used on NAND devices in case hotplug is too slow
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/base-files/files/lib/upgrade/common.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 8cfce71..e3519ca 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -53,7 +53,8 @@ run_ramfs() { # <command> [...]
 		/bin/vi /bin/ls /bin/cat /usr/bin/awk /usr/bin/hexdump		\
 		/bin/sleep /bin/zcat /usr/bin/bzcat /usr/bin/printf /usr/bin/wc \
 		/bin/cut /usr/bin/printf /bin/sync /bin/mkdir /bin/rmdir	\
-		/bin/rm /usr/bin/basename /bin/kill /bin/chmod /usr/bin/find
+		/bin/rm /usr/bin/basename /bin/kill /bin/chmod /usr/bin/find \
+		/bin/mknod
 
 	install_bin /bin/uclient-fetch /bin/wget
 	install_bin /sbin/mtd



More information about the lede-commits mailing list