summaryrefslogtreecommitdiffstats
path: root/scripts/lib
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:08:30 +0100
commitdfefd671f35599deba668a2c29bbc6c02469b4da (patch)
tree7392db641706bb9e1f6a73421fe9cc225f2001d8 /scripts/lib
parent0b168b269b497383d01e71db585235948b71a3f8 (diff)
downloadpoky-dfefd671f35599deba668a2c29bbc6c02469b4da.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 (From OE-Core rev: 2c0062b59178fa668b26487b6d2f1e81a0d868e0) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-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):
436 436
437 rd = parse_recipe(config, tinfoil, recipename, True) 437 rd = parse_recipe(config, tinfoil, recipename, True)
438 if not rd: 438 if not rd:
439 tinfoil.shutdown()
439 return None 440 return None
440 441
441 if bb.data.inherits_class('kernel-yocto', rd): 442 if bb.data.inherits_class('kernel-yocto', rd):