summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-02 12:29:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-02 12:31:30 +0000
commit78ae63423f123f89a5c72c85539e6ed71bd2653d (patch)
treeca7aab3d2f43690c284bb15af314cd62b4a8d554
parent8ac3b74dc9ec968fe85c93e32105e304830736f4 (diff)
downloadpoky-78ae63423f123f89a5c72c85539e6ed71bd2653d.tar.gz
image_types: Ensure dependencies for compression types containing multiple dots are handled correctly
This ensures dependencies for image types like ext2.gz.u-boot are handled correctly. (From OE-Core rev: d94cb18f7f17a492c7a948337d7d2d1d0785573f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index f756c39fc3..b2503ead84 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -84,7 +84,7 @@ def imagetypes_getdepends(d):
84 basetype = type 84 basetype = type
85 for ctype in ctypes: 85 for ctype in ctypes:
86 if type.endswith("." + ctype): 86 if type.endswith("." + ctype):
87 basetype = type.rsplit(".", 1)[0] 87 basetype = type[:-len("." + ctype)]
88 adddep(d.getVar("COMPRESS_DEPENDS_%s" % ctype, True), deps) 88 adddep(d.getVar("COMPRESS_DEPENDS_%s" % ctype, True), deps)
89 break 89 break
90 adddep(d.getVar('IMAGE_DEPENDS_%s' % basetype, True) , deps) 90 adddep(d.getVar('IMAGE_DEPENDS_%s' % basetype, True) , deps)