devtool/standard: Fix lock in _prep_extract_operation
PATCH 1/1 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 <[email protected]>
--- scripts/lib/devtool/standard.py | 1 + 1 file changed, 1 insertion(+)
scripts/lib/devtool/standard.py +1 -0
@@ -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):
Signature · 1 line
2.1.4