summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-11 12:59:33 +0000
committerJohn Crispin <john@openwrt.org>2014-06-11 12:59:33 +0000
commite73538ba5631eef97ca4ffc9be369c0a53446ab1 (patch)
tree489f99b4656a07f83b7ef0bad76161cfb7b26d7e /package/base-files/files
parent7d306dd9f0d3ca301a3923564e19330fd57d705b (diff)
downloadmtk-20170518-e73538ba5631eef97ca4ffc9be369c0a53446ab1.zip
mtk-20170518-e73538ba5631eef97ca4ffc9be369c0a53446ab1.tar.gz
mtk-20170518-e73538ba5631eef97ca4ffc9be369c0a53446ab1.tar.bz2
base-files: include more ubi* tools in sysupgrade ramdisk
Also add some more busybox symlinks which are useful for sysupgrade on UBI-enabled devices. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41125
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index c817ccb..11de829 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -55,7 +55,8 @@ run_ramfs() { # <command> [...]
/bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" \
/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
+ /bin/cut /usr/bin/printf /bin/sync /bin/mkdir /bin/rmdir \
+ /bin/rm /usr/bin/basename /bin/kill /bin/chmod
install_bin /sbin/mtd
install_bin /sbin/ubi
@@ -64,6 +65,8 @@ run_ramfs() { # <command> [...]
install_bin /sbin/snapshot_tool
install_bin /usr/sbin/ubiupdatevol
install_bin /usr/sbin/ubiattach
+ install_bin /usr/sbin/ubiblock
+ install_bin /usr/sbin/ubiformat
install_bin /usr/sbin/ubidetach
install_bin /usr/sbin/ubirsvol
install_bin /usr/sbin/ubirmvol