diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/tinfoil.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index fa95f6329f..368264f39a 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
@@ -604,13 +604,16 @@ class Tinfoil: | |||
604 | recipecache = self.cooker.recipecaches[mc] | 604 | recipecache = self.cooker.recipecaches[mc] |
605 | prov = self.find_best_provider(pn) | 605 | prov = self.find_best_provider(pn) |
606 | fn = prov[3] | 606 | fn = prov[3] |
607 | actual_pn = recipecache.pkg_fn[fn] | 607 | if fn: |
608 | recipe = TinfoilRecipeInfo(recipecache, | 608 | actual_pn = recipecache.pkg_fn[fn] |
609 | self.config_data, | 609 | recipe = TinfoilRecipeInfo(recipecache, |
610 | pn=actual_pn, | 610 | self.config_data, |
611 | fn=fn, | 611 | pn=actual_pn, |
612 | fns=recipecache.pkg_pn[actual_pn]) | 612 | fn=fn, |
613 | return recipe | 613 | fns=recipecache.pkg_pn[actual_pn]) |
614 | return recipe | ||
615 | else: | ||
616 | return None | ||
614 | 617 | ||
615 | def parse_recipe(self, pn): | 618 | def parse_recipe(self, pn): |
616 | """ | 619 | """ |