From: John Crispin Date: Wed, 11 Jun 2014 12:59:33 +0000 (+0000) Subject: base-files: include more ubi* tools in sysupgrade ramdisk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e73538ba5631eef97ca4ffc9be369c0a53446ab1;p=openwrt%2Fstaging%2Flinusw.git 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 SVN-Revision: 41125 --- diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index c817ccbdd6..11de82904c 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() { # [...] /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() { # [...] 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