poky/scripts/lib/devtool
Paul Eggleton 8be2077a38 devtool: update-recipe: find and use existing files directories
devtool update-recipe was defaulting to the ${BPN} named directory when
adding patches next to a recipe, but that meant if you already had files
in a ${BP} named directory (i.e. name and version) or "files" then you'd
end up with two directories next to the recipe, which is usually not
what you want. To avoid this, look through FILESPATH and take the first
one that's the same level or one level down from the recipe and already
exists, if any.

(From OE-Core rev: c7a8190cf8bdf86ba850b6780b8e951e90232c06)

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>
2016-07-20 10:28:49 +01:00
..
__init__.py devtool: return specific exit code for incompatible recipes 2016-07-12 23:10:15 +01:00
build_image.py devtool: Fix build-sdk when pn doesn't match filename 2016-05-11 10:33:43 +01:00
build_sdk.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
build.py scripts: python3: convert iterables to lists 2016-06-03 13:13:28 +01:00
deploy.py devtool: deploy-target: preserve existing files 2016-02-21 09:32:43 +00:00
package.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
runqemu.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
sdk.py devtool: sdk-update: drop support for local updates 2016-05-21 22:24:57 +01:00
search.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
standard.py devtool: update-recipe: find and use existing files directories 2016-07-20 10:28:49 +01:00
upgrade.py scripts: Fix deprecated dict methods for python3 2016-06-02 08:24:01 +01:00
utilcmds.py devtool: configure-help: fix error if do_configure not already run 2016-03-25 10:29:13 +00:00