poky/scripts/lib/recipetool
Paul Eggleton 4f152bdce9 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>
2017-05-23 17:45:36 +01:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py scripts: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
create_buildsys_python.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
create_buildsys.py recipetool: create: skip values extracted from spec files containing macros 2017-05-23 17:45:36 +01:00
create_kernel.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
create_kmod.py recipetool: create: avoid decoding errors with Python 3 2016-07-08 09:57:24 +01:00
create_npm.py recipetool: create: hide missing npm error when called from devtool 2017-04-13 10:54:10 +01:00
create.py recipetool: create: hide missing npm error when called from devtool 2017-04-13 10:54:10 +01:00
newappend.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
setvar.py devtool / recipetool: use tinfoil parsing API 2016-12-14 12:30:49 +00:00