]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: add check for live and convert to ext3
authorSaul Wold <sgw@linux.intel.com>
Fri, 4 May 2012 16:23:51 +0000 (09:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 May 2012 08:52:18 +0000 (09:52 +0100)
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>
meta/classes/image.bbclass

index b8ca370e7a3ce3349d1fa951c0277f1f413ca9c1..e9a3aa615604f5013d57e2801d3da4552b6b9f47 100644 (file)
@@ -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():