diff options
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) |