generic-poky/scripts/lib/devtool
Paul Eggleton 39d3aa2828 devtool: update-recipe: support files with subdir=
It's rare but there are recipes that have individual files (as opposed
to archives) in SRC_URI using subdir= to put them under the source tree,
the examples in OE-Core being bzip2 and openssl. This broke devtool
update-recipe (and devtool finish) because the file wasn't unpacked into
the oe-local-files directory and thus when it came time to update the
recipe, the file was assumed to have been deleted by the user and thus
the file was erroneously removed. Add logic to handle these properly so
that this doesn't happen.

(We still have another potential problem in that these files become part
of the initial commit from upstream, which could be confusing because
they didn't come from there - but that's a separate issue and not one
that is trivially solved.)

(From OE-Core rev: 9069fef5dad5a873c8a8f720f7bcbc7625556309)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-08 00:36:48 +01:00
..
__init__.py lib/oe/patch: commit with a dummy user/email when PATCHTOOL=git 2016-09-03 23:45:52 +01:00
build.py scripts: python3: convert iterables to lists 2016-06-03 13:13:28 +01:00
build_image.py scripts: ensure tinfoil is shut down correctly 2016-09-03 23:45:54 +01:00
build_sdk.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
deploy.py scripts: ensure tinfoil is shut down correctly 2016-09-03 23:45:54 +01:00
package.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
runqemu.py scripts: ensure tinfoil is shut down correctly 2016-09-03 23:45:54 +01: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: support files with subdir= 2016-09-08 00:36:48 +01:00
upgrade.py scripts: ensure tinfoil is shut down correctly 2016-09-03 23:45:54 +01:00
utilcmds.py devtool: configure-help: fix error if do_configure not already run 2016-03-25 10:29:13 +00:00