diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-05-04 09:23:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-06 09:53:27 +0100 |
commit | 2b92d9f6d3a10ede2cf5db335e7df86c65858d20 (patch) | |
tree | 9582d19bf8d243f3d8d86f520ca8ba900d445df0 | |
parent | bfa48c3c0994aa7a47fff2539b9de0adb6c7b38c (diff) | |
download | poky-2b92d9f6d3a10ede2cf5db335e7df86c65858d20.tar.gz |
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.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
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} | |||
76 | python () { | 76 | python () { |
77 | deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or "" | 77 | deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or "" |
78 | for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split(): | 78 | for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split(): |
79 | if type == "live": | ||
80 | type = "ext3" | ||
79 | for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []): | 81 | for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []): |
80 | deps += " %s:do_populate_sysroot" % dep | 82 | deps += " %s:do_populate_sysroot" % dep |
81 | for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split(): | 83 | for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split(): |