Skip to contentSkip to conversation

wic/misc: Use bitbake -e -b options for env generation

PATCH New Saul Wold 1 participant 1 message Oct 25, 2017

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 wic/misc: Use bitbake -e -b options for env generation

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.

---
 scripts/lib/wic/misc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/misc.py +1 -1
index ee888b478cc..de0307844e7 100644
@@ -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
 
Signature · 1 line
2.13.5