diff options
-rw-r--r-- | bitbake/lib/bblayers/query.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py index eb7cb465b4..9b2e081cfd 100644 --- a/bitbake/lib/bblayers/query.py +++ b/bitbake/lib/bblayers/query.py | |||
@@ -145,7 +145,8 @@ skipped recipes will also be listed, with a " (skipped)" suffix. | |||
145 | skiplist = list(self.tinfoil.cooker.skiplist_by_mc[mc].keys()) | 145 | skiplist = list(self.tinfoil.cooker.skiplist_by_mc[mc].keys()) |
146 | 146 | ||
147 | if mc: | 147 | if mc: |
148 | skiplist = [s.removeprefix(f'mc:{mc}:') for s in skiplist] | 148 | mcspec = f'mc:{mc}:' |
149 | skiplist = [s[len(mcspec):] if s.startswith(mcspec) else s for s in skiplist] | ||
149 | 150 | ||
150 | for fn in skiplist: | 151 | for fn in skiplist: |
151 | recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_') | 152 | recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_') |