base-files: the ubi tol should be installed when jumping to ram_fs
authorJohn Crispin <john@openwrt.org>
Mon, 7 Apr 2014 15:35:20 +0000 (15:35 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 7 Apr 2014 15:35:20 +0000 (15:35 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40420

package/base-files/files/lib/upgrade/common.sh

index 207eae094857ca1929a3176778d40722469ee5c0..ecf1a98b9ca7bab5b1f0a72c54e0fbee0bb64456 100644 (file)
@@ -58,6 +58,7 @@ run_ramfs() { # <command> [...]
                /bin/cut /usr/bin/printf /bin/sync
 
        install_bin /sbin/mtd
                /bin/cut /usr/bin/printf /bin/sync
 
        install_bin /sbin/mtd
+       install_bin /sbin/ubi
        install_bin /sbin/mount_root
        install_bin /sbin/snapshot
        install_bin /sbin/snapshot_tool
        install_bin /sbin/mount_root
        install_bin /sbin/snapshot
        install_bin /sbin/snapshot_tool