From 665d39f69831f1e82e1154cdf51087b38b143e5b Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 7 Apr 2014 15:35:20 +0000
Subject: [PATCH] base-files: the ubi tol should be installed when jumping to
 ram_fs

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40420
---
 package/base-files/files/lib/upgrade/common.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 207eae0948..ecf1a98b9c 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -58,6 +58,7 @@ run_ramfs() { # <command> [...]
 		/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
-- 
2.30.2