[bitbake-devel] [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..."
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jun 10 12:29:24 UTC 2011
On Fri, 2011-06-10 at 16:18 +0800, Dexuan Cui wrote:
> 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))
We can't add implementation specific information to bitbake I'm afraid
so we'll need to find a different way to handle this...
Cheers,
Richard
More information about the bitbake-devel
mailing list