mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 18:32:12 +02:00
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 <jingdong.lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b174d51b42
commit
30ba9839a2
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
ROOT_MOUNT="/rootfs/"
|
||||
ROOT_IMAGE=rootfs.img
|
||||
ROOT_IMAGE="isolinux/rootfs.img"
|
||||
MOUNT="/bin/mount"
|
||||
UMOUNT="/bin/umount"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
SRC_URI = "file://init-live.sh"
|
||||
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/init-live.sh ${D}/init
|
||||
|
||||
Reference in New Issue
Block a user