aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-03 14:26:42 +0000
committerJohn Crispin <john@openwrt.org>2014-04-03 14:26:42 +0000
commit08b49244014c1349278c9df3a61c124acecd31ae (patch)
tree8c042bd62fc2af4dc4f96e11e22306abadcf0323 /package/base-files
parent69519ed75f91539b16fdcd6bec2f4deb5805d856 (diff)
downloadupstream-08b49244014c1349278c9df3a61c124acecd31ae.tar.gz
upstream-08b49244014c1349278c9df3a61c124acecd31ae.tar.bz2
upstream-08b49244014c1349278c9df3a61c124acecd31ae.zip
ubi-utils: mini version of mtd-utils that only includes ubi tools
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40367
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index e53e844d5e..90a00e45a2 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -53,12 +53,19 @@ run_ramfs() { # <command> [...]
install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount \
/sbin/pivot_root /usr/bin/wget /sbin/reboot /bin/sync /bin/dd \
/bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" \
- /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/dd /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
install_bin /sbin/mtd
install_bin /sbin/fs-state
install_bin /sbin/snapshot
+ install_bin /usr/sbin/ubiupdatevol
+ install_bin /usr/sbin/ubiattach
+ install_bin /usr/sbin/ubidetach
+ install_bin /usr/sbin/ubirsvol
+ install_bin /usr/sbin/ubirmvol
+ install_bin /usr/sbin/ubimkvol
for file in $RAMFS_COPY_BIN; do
install_bin $file
done