diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-02 12:29:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-02 12:31:22 +0000 |
commit | d94cb18f7f17a492c7a948337d7d2d1d0785573f (patch) | |
tree | 94b0c86d111ce161450c9d27f97ba81afc188125 /meta | |
parent | 0725c7f01b173b1cc2090f4a03a274c7017b8a1a (diff) | |
download | openembedded-core-d94cb18f7f17a492c7a948337d7d2d1d0785573f.tar.gz openembedded-core-d94cb18f7f17a492c7a948337d7d2d1d0785573f.tar.bz2 openembedded-core-d94cb18f7f17a492c7a948337d7d2d1d0785573f.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
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): basetype = type for ctype in ctypes: if type.endswith("." + ctype): - basetype = type.rsplit(".", 1)[0] + basetype = type[:-len("." + ctype)] adddep(d.getVar("COMPRESS_DEPENDS_%s" % ctype, True), deps) break adddep(d.getVar('IMAGE_DEPENDS_%s' % basetype, True) , deps) |