summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 65ce6bb524..2577cca733 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -404,7 +404,7 @@ python () {
404 rm_tmp_images = set() 404 rm_tmp_images = set()
405 def gen_conversion_cmds(bt): 405 def gen_conversion_cmds(bt):
406 for ctype in ctypes: 406 for ctype in ctypes:
407 if bt.endswith("." + ctype): 407 if bt[bt.find('.') + 1:] == ctype:
408 type = bt[0:-len(ctype) - 1] 408 type = bt[0:-len(ctype) - 1]
409 if type.startswith("debugfs_"): 409 if type.startswith("debugfs_"):
410 type = type[8:] 410 type = type[8:]