poky/scripts/lib/devtool
Paul Eggleton 1fbd76093d lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata()
Use bb.utils.edit_metadata() to replace some of the logic in this
function; this avoids us effectively having two implementations of the
same thing. In the process fix the following issues:

* Insert values before any leading comments for the next variable
  instead of after them
* Insert overridden variables (e.g. RDEPENDS_${PN}) in the correct place
* Properly handle replacing varflag settings (e.g. SRC_URI[md5sum])

(From OE-Core rev: 0f81b83fc5fd908efa7f6b837137830ca65f6ed6)

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>
2015-12-01 21:32:04 +00:00
..
__init__.py devtool: ensure we change back to the original dir on error 2015-12-01 21:32:04 +00:00
build-image.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
build.py devtool: clarify help text 2015-12-01 21:32:04 +00:00
deploy.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
package.py devtool: drop unused plugin_init() functions 2015-12-01 21:32:04 +00:00
runqemu.py devtool: runqemu: avoid recipe parse 2015-09-24 17:54:25 +01:00
sdk.py devtool: drop unused plugin_init() functions 2015-12-01 21:32:04 +00:00
search.py devtool: search: print SUMMARY value 2015-12-01 21:32:04 +00:00
standard.py devtool: clarify help text 2015-12-01 21:32:04 +00:00
upgrade.py lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata() 2015-12-01 21:32:04 +00:00