aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-06 00:24:22 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-06 15:34:14 +0100
commit7304510392f53013e42d40974be47af3e2494bc7 (patch)
tree57069ebe3a855ae2eb1585d70397633f6c3703be
parentf277f45bd682f82aa7ac69f68abd1835730289af (diff)
downloadupstream-7304510392f53013e42d40974be47af3e2494bc7.tar.gz
upstream-7304510392f53013e42d40974be47af3e2494bc7.tar.bz2
upstream-7304510392f53013e42d40974be47af3e2494bc7.zip
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@nbd.name>
-rw-r--r--package/base-files/files/lib/upgrade/common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 8cfce71999..e3519ca2cb 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