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