mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
image.bbclass: add check for live and convert to ext3
The live image type depends on ext3 which has it's own dependencies, while the live type has none, this is a backport change to fix [YOCTO #2246] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bfa48c3c09
commit
2b92d9f6d3
@@ -76,6 +76,8 @@ inherit image-${IMAGE_TYPE}
|
|||||||
python () {
|
python () {
|
||||||
deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or ""
|
deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or ""
|
||||||
for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split():
|
for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split():
|
||||||
|
if type == "live":
|
||||||
|
type = "ext3"
|
||||||
for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []):
|
for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []):
|
||||||
deps += " %s:do_populate_sysroot" % dep
|
deps += " %s:do_populate_sysroot" % dep
|
||||||
for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split():
|
for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split():
|
||||||
|
|||||||
Reference in New Issue
Block a user