[OE-core] [PATCH 1/2] init-live.sh: fix ROOT_MOUNT

Robert Yang liezhi.yang at windriver.com
Tue Mar 29 07:49:51 UTC 2016


The '/' in the end is not needed, which caused '//' in the path.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/recipes-core/initrdscripts/files/init-live.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh
index f698535..04e58d5 100644
--- a/meta/recipes-core/initrdscripts/files/init-live.sh
+++ b/meta/recipes-core/initrdscripts/files/init-live.sh
@@ -2,7 +2,7 @@
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 
-ROOT_MOUNT="/rootfs/"
+ROOT_MOUNT="/rootfs"
 ROOT_IMAGE="rootfs.img"
 MOUNT="/bin/mount"
 UMOUNT="/bin/umount"
-- 
2.7.4




More information about the Openembedded-core mailing list