diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bblayers/query.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py index 9b2e081cfd..eb7cb465b4 100644 --- a/bitbake/lib/bblayers/query.py +++ b/bitbake/lib/bblayers/query.py | |||
@@ -145,8 +145,7 @@ 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 | mcspec = f'mc:{mc}:' | 148 | skiplist = [s.removeprefix(f'mc:{mc}:') for s in skiplist] |
149 | skiplist = [s[len(mcspec):] if s.startswith(mcspec) else s for s in skiplist] | ||
150 | 149 | ||
151 | for fn in skiplist: | 150 | for fn in skiplist: |
152 | recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_') | 151 | recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_') |