rrs/tools/common.py: When load a recipe use tinfoil cache

Due to multi-configuration builds in bitbake now is needed
to use a tinfoil cache instance instead of call directly in
bb.cache.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
Aníbal Limón 2016-08-29 21:08:55 +00:00
parent 33110335d2
commit c815923aed

View File

@ -119,7 +119,7 @@ def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger,
recipes = []
for rp in recipe_files:
try:
data = bb.cache.Cache.loadDataFull(rp, [], d)
data = tinfoil.cache.loadDataFull(rp, [])
try:
pv = data.getVar('PV', True)
except FetchError: