From 30ba9839a2dfcd144c3369644c00e1551b820b33 Mon Sep 17 00:00:00 2001 From: Jingdong Lu Date: Thu, 18 Aug 2011 15:59:58 +0800 Subject: initrdscripts: fix init-live.sh Fix bug: [YOCTO #686] Because the variable "ROOT_IMAGE" in init-live.sh is not correct, it fails to run when using liveCD. Modify value of "ROOT_IMAGE" to "isolinux/rootfs.img". If we want to use liveCD, we also need to add some kernel options related to CDROM support when compling kernel. (From OE-Core rev: f9b6f41c9249cc90f7621d446eafae5e5508dd6e) Signed-off-by: Jingdong Lu Signed-off-by: Richard Purdie --- meta/recipes-core/initrdscripts/files/init-live.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/initrdscripts/files') diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh index f3e514544f..1cd87e8d94 100644 --- a/meta/recipes-core/initrdscripts/files/init-live.sh +++ b/meta/recipes-core/initrdscripts/files/init-live.sh @@ -1,7 +1,7 @@ #!/bin/sh ROOT_MOUNT="/rootfs/" -ROOT_IMAGE=rootfs.img +ROOT_IMAGE="isolinux/rootfs.img" MOUNT="/bin/mount" UMOUNT="/bin/umount" -- cgit v1.2.3-54-g00ecf