diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-04-27 10:53:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-28 09:44:14 +0100 |
commit | d768a803919f6c1cbd9f285290096d781002a712 (patch) | |
tree | 53dbc5fda65a0fb3ed84b66c1b5ea8c196d0bc4b /meta/lib | |
parent | 66dd73d1d163b0530f4f13b391ae9245cfcd1ed1 (diff) | |
download | ast2050-yocto-poky-d768a803919f6c1cbd9f285290096d781002a712.zip ast2050-yocto-poky-d768a803919f6c1cbd9f285290096d781002a712.tar.gz |
devtool: include bbappends in recipe parsing
In order to get correct metadata, SRCREV for example.
Fixes [YOCTO #7648].
(From OE-Core master rev: 8b1794559dd7fd956716179d628e61cffdce1686)
(From OE-Core rev: becbd5d50a091fe4a980361d9c99efa01f43edcc)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/recipeutils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 159a103..09bd7fd 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py @@ -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) |