From: Aníbal Limón Date: Thu, 8 Jun 2017 16:32:01 +0000 (-0500) Subject: devtool/standard: Fix lock in _prep_extract_operation X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c0062b59178fa668b26487b6d2f1e81a0d868e0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton --- diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 2ecef99cdb4..7e342e7687e 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):