[OE-core] [PATCH] wic/misc: Use bitbake -e -b options for env generation

Saul Wold sgw at linux.intel.com
Wed Oct 25 23:18:00 UTC 2017


The -e option generates the environment and the -b only select the
one recipe and suppresses the dependency generation as that is not
needed for environment generation.

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 scripts/lib/wic/misc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/misc.py
index ee888b478cc..de0307844e7 100644
--- a/scripts/lib/wic/misc.py
+++ b/scripts/lib/wic/misc.py
@@ -222,7 +222,7 @@ class BitbakeVars(defaultdict):
                     return
             else:
                 # Get bitbake -e output
-                cmd = "bitbake -e"
+                cmd = "bitbake -e -b"
                 if image:
                     cmd += " %s" % image
 
-- 
2.13.5




More information about the Openembedded-core mailing list