poky/scripts/lib/devtool
Paul Eggleton e54f9c159d devtool / recipetool: use common code for launching editor
Looking at Chris Larson's code for starting the user's editor for
"recipetool newappend" it was slightly better than what I wrote for
"devtool edit-recipe" in that it checks VISUAL as well as EDITOR and
defaults to vi if neither are set, so break this out to its own function
and call it from both places. The broken out version passes shell=True
however in case it's a more complicated command rather than just a name
of an executable.

(From OE-Core rev: 184a256931e8cdc7bea97a905c4e67a435964de0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-21 09:32:42 +00:00
..
__init__.py devtool: add configure-help subcommand 2016-01-26 18:05:14 +00:00
build-image.py devtool: build-image: allow specifying packages to add to image 2016-01-26 18:05:13 +00:00
build.py devtool: build: ensure pkgdata is written out 2016-01-24 09:40:32 +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: add sdk-install subcommand 2016-01-24 09:40:32 +00:00
search.py devtool: search: print SUMMARY value 2015-12-01 21:32:04 +00:00
standard.py devtool: minor fix for error message 2016-02-21 09:32:42 +00:00
upgrade.py lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata() 2015-12-01 21:32:04 +00:00
utilcmds.py devtool / recipetool: use common code for launching editor 2016-02-21 09:32:42 +00:00