mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0b168b269b
commit
dfefd671f3
@@ -436,6 +436,7 @@ def _prep_extract_operation(config, basepath, recipename, tinfoil=None):
|
|||||||
|
|
||||||
rd = parse_recipe(config, tinfoil, recipename, True)
|
rd = parse_recipe(config, tinfoil, recipename, True)
|
||||||
if not rd:
|
if not rd:
|
||||||
|
tinfoil.shutdown()
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if bb.data.inherits_class('kernel-yocto', rd):
|
if bb.data.inherits_class('kernel-yocto', rd):
|
||||||
|
|||||||
Reference in New Issue
Block a user