[oe-commits] [openembedded-core] 14/43: devtool/standard: Fix lock in _prep_extract_operation

git at git.openembedded.org git at git.openembedded.org
Mon Jun 12 14:09:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2c0062b59178fa668b26487b6d2f1e81a0d868e0
Author: Aníbal Limón <anibal.limon at linux.intel.com>
AuthorDate: Thu Jun 8 11:32:01 2017 -0500

    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 at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/lib/devtool/standard.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 2ecef99..7e342e7 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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list