aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-06-08 11:32:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-12 15:04:09 +0100
commit2c0062b59178fa668b26487b6d2f1e81a0d868e0 (patch)
treeb1b782e5fcc5ba5dfe1f694a6006636f0db97b6a /scripts/lib/devtool
parentbaac26f1b36e89e07637b738dd31ec7356f05a02 (diff)
downloadopenembedded-core-contrib-2c0062b59178fa668b26487b6d2f1e81a0d868e0.tar.gz
devtool/standard: Fix lock in _prep_extract_operation
If for any reason the parse_recipe fail in extract command the process gets locked because Cooker is expecting the finish event by tinfoil. For example: $ devtool extract remake /tmp/remake ERROR: remake is unavailable: remake was skipped: PREFERRED_PROVIDER_virtual/make set to make, not remake Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r--scripts/lib/devtool/standard.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 2ecef99cdb..7e342e7687 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -436,6 +436,7 @@ def _prep_extract_operation(config, basepath, recipename, tinfoil=None):
rd = parse_recipe(config, tinfoil, recipename, True)
if not rd:
+ tinfoil.shutdown()
return None
if bb.data.inherits_class('kernel-yocto', rd):