diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-05-15 09:59:52 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-23 17:45:36 +0100 |
commit | 4f152bdce98854531006587aa0638e3cc68c2dad (patch) | |
tree | a503002668d9a7c67ac402fdc71d2d799bf2f4cd /scripts/lib/scriptutils.py | |
parent | d40f0c916fb68056ab0d5d07cfc5df366d9045e0 (diff) | |
download | poky-4f152bdce98854531006587aa0638e3cc68c2dad.tar.gz |
recipetool: create: skip values extracted from spec files containing macros
If a value we extract from a spec file contains an unexpanded macro
(e.g. %{macroname}) then we should discard it since we're not seeing the
actual value and we don't have an easy way of expanding it at the
moment.
This fixes for example getting %{name} as the recipe name when running
the following:
recipetool create https://github.com/gavincarr/mod_auth_tkt.git
(From OE-Core rev: eee56a19cda051da6267f808cd3a04a4c644acb3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions