mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
devtool: include bbappends in recipe parsing
In order to get correct metadata, SRCREV for example. Fixes [YOCTO #7648]. (From OE-Core rev: 8b1794559dd7fd956716179d628e61cffdce1686) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a8c7558c76
commit
ca1f4d7279
@@ -44,10 +44,10 @@ def get_unavailable_reasons(cooker, pn):
|
||||
return taskdata.get_reasons(pn)
|
||||
|
||||
|
||||
def parse_recipe(fn, d):
|
||||
def parse_recipe(fn, appends, d):
|
||||
"""Parse an individual recipe"""
|
||||
import bb.cache
|
||||
envdata = bb.cache.Cache.loadDataFull(fn, [], d)
|
||||
envdata = bb.cache.Cache.loadDataFull(fn, appends, d)
|
||||
return envdata
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ def get_var_files(fn, varlist, d):
|
||||
"""Find the file in which each of a list of variables is set.
|
||||
Note: requires variable history to be enabled when parsing.
|
||||
"""
|
||||
envdata = parse_recipe(fn, d)
|
||||
envdata = parse_recipe(fn, [], d)
|
||||
varfiles = {}
|
||||
for v in varlist:
|
||||
history = envdata.varhistory.variable(v)
|
||||
|
||||
Reference in New Issue
Block a user