diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-06-08 11:32:01 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-12 15:04:09 +0100 |
commit | 2c0062b59178fa668b26487b6d2f1e81a0d868e0 (patch) | |
tree | b1b782e5fcc5ba5dfe1f694a6006636f0db97b6a | |
parent | baac26f1b36e89e07637b738dd31ec7356f05a02 (diff) | |
download | openembedded-core-2c0062b59178fa668b26487b6d2f1e81a0d868e0.tar.gz openembedded-core-2c0062b59178fa668b26487b6d2f1e81a0d868e0.tar.bz2 openembedded-core-2c0062b59178fa668b26487b6d2f1e81a0d868e0.zip |
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>
-rw-r--r-- | scripts/lib/devtool/standard.py | 1 |
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): |