summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-07-19 11:56:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 08:41:12 +0100
commit9e8bbe7c6f83fe58d903bc43f09fafd6c6d25f14 (patch)
treef085dd0c0cc3c9331edc735f8f764ed717c6ad98 /bitbake/lib/bb/tinfoil.py
parent7eb654cb4d82b54e3e4df0a57face61063b72c45 (diff)
downloadpoky-9e8bbe7c6f83fe58d903bc43f09fafd6c6d25f14.tar.gz
bitbake: tinfoil: enable access to additional cached items
Add access to fn_provides, packages, packages_dynamic and rproviders on the recipecache object. This requires an additional corresponding command plumbing to be added. (Bitbake rev: 3df9b7c615174a6557581f3cd157842a28f6bb26) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 2a51526187..456cbf80be 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -173,6 +173,14 @@ class TinfoilCookerAdapter:
173 attrvalue = self.tinfoil.run_command('getBbFilePriority') or {} 173 attrvalue = self.tinfoil.run_command('getBbFilePriority') or {}
174 elif name == 'pkg_dp': 174 elif name == 'pkg_dp':
175 attrvalue = self.tinfoil.run_command('getDefaultPreference') or {} 175 attrvalue = self.tinfoil.run_command('getDefaultPreference') or {}
176 elif name == 'fn_provides':
177 attrvalue = self.tinfoil.run_command('getRecipeProvides') or {}
178 elif name == 'packages':
179 attrvalue = self.tinfoil.run_command('getRecipePackages') or {}
180 elif name == 'packages_dynamic':
181 attrvalue = self.tinfoil.run_command('getRecipePackagesDynamic') or {}
182 elif name == 'rproviders':
183 attrvalue = self.tinfoil.run_command('getRProviders') or {}
176 else: 184 else:
177 raise AttributeError("%s instance has no attribute '%s'" % (self.__class__.__name__, name)) 185 raise AttributeError("%s instance has no attribute '%s'" % (self.__class__.__name__, name))
178 186