diff options
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 6b9f9798db..64eb845fbe 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -395,7 +395,7 @@ python () { | |||
395 | rm_tmp_images = set() | 395 | rm_tmp_images = set() |
396 | def gen_conversion_cmds(bt): | 396 | def gen_conversion_cmds(bt): |
397 | for ctype in ctypes: | 397 | for ctype in ctypes: |
398 | if bt.endswith("." + ctype): | 398 | if bt[bt.find('.') + 1:] == ctype: |
399 | type = bt[0:-len(ctype) - 1] | 399 | type = bt[0:-len(ctype) - 1] |
400 | if type.startswith("debugfs_"): | 400 | if type.startswith("debugfs_"): |
401 | type = type[8:] | 401 | type = type[8:] |