1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

initrdscripts: fix init-live.sh for hddimg and livecd

Both hddimg and livecd use init-live.sh script to boot the rootfs.img.
But the paths of rootfs.img in hddimg and livecd are different. So we add
a variable "ISOLINUX" to provide a correct path.

(From OE-Core rev: 4e7221d23bf335cbb4e1e2ba703e4c0a04df7129)

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jingdong Lu
2011-08-24 15:36:22 +08:00
committed by Richard Purdie
parent 6ba3b6ba9b
commit 4f4475f498
2 changed files with 12 additions and 7 deletions
@@ -3,7 +3,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://init-live.sh"
PR = "r4"
PR = "r5"
do_install() {
install -m 0755 ${WORKDIR}/init-live.sh ${D}/init