* [PATCH 0/1] bitbake-layers: stop the warning 'not been run using the bitbake wrapper...'
@ 2011-06-10 8:18 Dexuan Cui
2011-06-10 8:18 ` [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..." Dexuan Cui
0 siblings, 1 reply; 5+ messages in thread
From: Dexuan Cui @ 2011-06-10 8:18 UTC (permalink / raw)
To: bitbake-devel
Please review the patch.
The following changes since commit 1b53eef2769d1b5e4ff527ccabf9b700afc02220:
native/nativesdk: Clean up the depends ordering after bitbake override handling updates (2011-06-09 22:49:10 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dcui/bb
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/bb
Dexuan Cui (1):
bitbake-layers: stop the warning "not been run using the bitbake
wrapper..."
bitbake/bin/bitbake-layers | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
--
1.7.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..."
2011-06-10 8:18 [PATCH 0/1] bitbake-layers: stop the warning 'not been run using the bitbake wrapper...' Dexuan Cui
@ 2011-06-10 8:18 ` Dexuan Cui
2011-06-10 12:29 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Dexuan Cui @ 2011-06-10 8:18 UTC (permalink / raw)
To: bitbake-devel
Signed-off-by: Dexuan Cui <dexuan.cui@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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..."
2011-06-10 8:18 ` [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..." Dexuan Cui
@ 2011-06-10 12:29 ` Richard Purdie
2011-06-10 12:45 ` Paul Eggleton
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2011-06-10 12:29 UTC (permalink / raw)
To: Dexuan Cui; +Cc: bitbake-devel
On Fri, 2011-06-10 at 16:18 +0800, Dexuan Cui wrote:
> Signed-off-by: Dexuan Cui <dexuan.cui@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..."
2011-06-10 12:29 ` Richard Purdie
@ 2011-06-10 12:45 ` Paul Eggleton
2011-06-20 4:26 ` Cui, Dexuan
0 siblings, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2011-06-10 12:45 UTC (permalink / raw)
To: bitbake-devel
On Friday 10 June 2011 13:29:24 Richard Purdie wrote:
> We can't add implementation specific information to bitbake I'm afraid
> so we'll need to find a different way to handle this...
Perhaps we could just change sanity.bbclass to check argv[0] somehow (or some
equivalent way to get the current process name) and skip the check if it isn't
"bitbake"? This would have the added bonus of solving the problem for future
tools that use bitbake code in a similar way to bitbake-layers.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..."
2011-06-10 12:45 ` Paul Eggleton
@ 2011-06-20 4:26 ` Cui, Dexuan
0 siblings, 0 replies; 5+ messages in thread
From: Cui, Dexuan @ 2011-06-20 4:26 UTC (permalink / raw)
To: 'Paul Eggleton', bitbake-devel@lists.openembedded.org
Paul Eggleton wrote:
> On Friday 10 June 2011 13:29:24 Richard Purdie wrote:
>> We can't add implementation specific information to bitbake I'm
>> afraid so we'll need to find a different way to handle this...
>
> Perhaps we could just change sanity.bbclass to check argv[0] somehow
> (or some equivalent way to get the current process name) and skip the
> check if it isn't "bitbake"? This would have the added bonus of
> solving the problem for future tools that use bitbake code in a
> similar way to bitbake-layers.
(sorry for the late reply!)
Thanks a lot for Paul's good suggestion!
I sent the new patch to oe-core mailing list just now.
Thanks,
-- Dexuan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-20 4:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 8:18 [PATCH 0/1] bitbake-layers: stop the warning 'not been run using the bitbake wrapper...' Dexuan Cui
2011-06-10 8:18 ` [PATCH 1/1] bitbake-layers: stop the warning "not been run using the bitbake wrapper..." Dexuan Cui
2011-06-10 12:29 ` Richard Purdie
2011-06-10 12:45 ` Paul Eggleton
2011-06-20 4:26 ` Cui, Dexuan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.