[bitbake-devel] [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..."

Dexuan Cui dexuan.cui at intel.com
Fri Jun 10 08:18:10 UTC 2011


Signed-off-by: Dexuan Cui <dexuan.cui at intel.com>
---
 bitbake/bin/bitbake-layers |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 6b5ad5a..aa6d031 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -29,6 +29,10 @@ def main(args):
     logging.basicConfig(format='%(levelname)s: %(message)s')
     bb.utils.clean_environment()
 
+    # set PSEUDO_BUILD after clean_environment() , or else, the setting will
+    # be filtered out.
+    os.environ["PSEUDO_BUILD"] = "0"
+
     cmds = Commands()
     if args:
         cmds.onecmd(' '.join(args))
-- 
1.7.2





More information about the bitbake-devel mailing list