aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-05-04 09:23:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-06 09:52:18 +0100
commit22c71906ad33eadb24b35a2a04c4bad377d1b1ff (patch)
tree5f5cf2b5824a7e7cfea8916a6f9a5af33060fdb8
parentdd0a492aa594881d9057ab24f2e160a38cffd02f (diff)
downloadopenembedded-core-22c71906ad33eadb24b35a2a04c4bad377d1b1ff.zip
openembedded-core-22c71906ad33eadb24b35a2a04c4bad377d1b1ff.tar.gz
openembedded-core-22c71906ad33eadb24b35a2a04c4bad377d1b1ff.tar.bz2
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>
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index b8ca370..e9a3aa6 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():