From 2b92d9f6d3a10ede2cf5db335e7df86c65858d20 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Fri, 4 May 2012 09:23:51 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/image.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta') diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index b8ca370e7a..e9a3aa6156 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -76,6 +76,8 @@ inherit image-${IMAGE_TYPE} python () { deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or "" 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 []): deps += " %s:do_populate_sysroot" % dep for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split(): -- cgit v1.2.3-54-g00ecf