poky/scripts/lib/devtool
Paul Eggleton 09754b4119 devtool: finish: fix error if destination layer is not in bblayers.conf
If devtool finish is run on a recipe where the recipe file itself is in
the workspace (e.g. where devtool add / devtool upgrade has been used)
and the specified destination layer is not in bblayers.conf, then we
need to avoid running bitbake -c clean at the end because the recipe has
been moved, but the bbappend is still present in the workspace layer at
that point and so if we do it will fail due to the dangling bbappend.
It's difficult to do the clean at the point we'd want to because tinfoil
is holding bitbake.lock for most of the time, but in any case cleaning
the recipe is less important than it used to be since we started
managing the sysroot contents more strictly, so just disable cleaning
under these circumstances to avoid the problem.

Fixes [YOCTO #10484].

(From OE-Core rev: c6980307d43632f4172e79d9607004203af4e9c8)

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-11-07 11:04:22 +00:00
..
__init__.py devtool: add: build nodejs-native if npm is needed and not available 2016-10-05 10:10:11 +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
build.py scripts: python3: convert iterables to lists 2016-06-03 13:13:28 +01:00
deploy.py devtool: deploy-target: Avoid unnecessary dependency on awk on the target 2016-10-05 10:10:11 +01:00
package.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
runqemu.py devtool: runqemu: work around runqemu script path assumption 2016-10-25 22:40:09 +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: finish: fix error if destination layer is not in bblayers.conf 2016-11-07 11:04:22 +00: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