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 | |
| parent | 66dd73d1d163b0530f4f13b391ae9245cfcd1ed1 (diff) | |
| download | 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')
| -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 159a103719..09bd7fdb46 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
| @@ -44,10 +44,10 @@ def get_unavailable_reasons(cooker, pn): | |||
| 44 | return taskdata.get_reasons(pn) | 44 | return taskdata.get_reasons(pn) |
| 45 | 45 | ||
| 46 | 46 | ||
| 47 | def parse_recipe(fn, d): | 47 | def parse_recipe(fn, appends, d): |
| 48 | """Parse an individual recipe""" | 48 | """Parse an individual recipe""" |
| 49 | import bb.cache | 49 | import bb.cache |
| 50 | envdata = bb.cache.Cache.loadDataFull(fn, [], d) | 50 | envdata = bb.cache.Cache.loadDataFull(fn, appends, d) |
| 51 | return envdata | 51 | return envdata |
| 52 | 52 | ||
| 53 | 53 | ||
| @@ -55,7 +55,7 @@ def get_var_files(fn, varlist, d): | |||
| 55 | """Find the file in which each of a list of variables is set. | 55 | """Find the file in which each of a list of variables is set. |
| 56 | Note: requires variable history to be enabled when parsing. | 56 | Note: requires variable history to be enabled when parsing. |
| 57 | """ | 57 | """ |
| 58 | envdata = parse_recipe(fn, d) | 58 | envdata = parse_recipe(fn, [], d) |
| 59 | varfiles = {} | 59 | varfiles = {} |
| 60 | for v in varlist: | 60 | for v in varlist: |
| 61 | history = envdata.varhistory.variable(v) | 61 | history = envdata.varhistory.variable(v) |
