[oe-commits] Saul Wold : image.bbclass: add check for live and convert to ext3

git at git.openembedded.org git at git.openembedded.org
Sun May 6 09:00:04 UTC 2012


Module: openembedded-core.git
Branch: 2011-1
Commit: 22c71906ad33eadb24b35a2a04c4bad377d1b1ff
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=22c71906ad33eadb24b35a2a04c4bad377d1b1ff

Author: Saul Wold <sgw at linux.intel.com>
Date:   Fri May  4 09:23:51 2012 -0700

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/image.bbclass |    2 ++
 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():





More information about the Openembedded-commits mailing list