sanity.bbclass: only run check_pseudo_wrapper for bitbake
cover sanity.bbclass: only run check_pseudo_wrapper for bitbake
Please view it.
The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
systemtap: remove non-core COMPATIBLE_MACHINES (2011-06-16 22:14:06 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dcui/sanity
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/sanity
Dexuan Cui (1):
sanity.bbclass: only run check_pseudo_wrapper for bitbake
meta/classes/sanity.bbclass | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
PATCH 1/1 sanity.bbclass: only run check_pseudo_wrapper for bitbake
This patch eliminates the warning "not been run using the bitbake wrapper..." when we run bitbake-layers.
Thanks Paul Eggleton for suggesting doing this in sanity.bbclass.
--- meta/classes/sanity.bbclass | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
meta/classes/sanity.bbclass +4 -0
@@ -42,6 +42,10 @@ def check_sanity_version_change(): return "" def check_pseudo_wrapper(): + import sys + if not sys.argv[0].endswith('/bitbake'): + return "" + import subprocess as sub # Check if bitbake wrapper is being used pseudo_build = os.environ.get( 'PSEUDO_BUILD' )
Signature · 1 line
1.7.1
Quoted 15 lines · On Monday 20 June 2011 05:25:03 Dexuan Cui wrote:
This patch eliminates the warning "not been run using the bitbake wrapper..." when we run bitbake-layers.
Thanks Paul Eggleton for suggesting doing this in sanity.bbclass.
Signed-off-by Dexuan Cui <[email protected]>--- meta/classes/sanity.bbclass | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)meta/classes/sanity.bbclass +0
-0
meta/classes/sanity.bbclass def check_sanity_version_change(): · line 51
Quoted 10 lines
meta/classes/sanity.bbclass +4
-0@@ -42,6 +42,10 @@ def check_sanity_version_change(): return "" def check_pseudo_wrapper(): + import sys + if not sys.argv[0].endswith('/bitbake'): + return "" + import subprocess as sub # Check if bitbake wrapper is being used pseudo_build = os.environ.get( 'PSEUDO_BUILD' )
Looks good to me.
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Saul Wold
AppliedQuoted 13 lines · Dexuan Cui
Please view it.
The following changes since commit
2163461ec94528ecf046a04edc5db3d2dd3a6b8b:systemtap: remove non-core COMPATIBLE_MACHINES (2011-06-16 22:14:06 +0100)are available in the git repository at:
git://git.pokylinux.org/poky-contribdcui/sanity
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/sanityDexuan Cui (1):
sanity.bbclass: only runcheck_pseudo_wrapperfor bitbake
Quoted 9 lines
meta/classes/sanity.bbclass | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Merged into OE-Core
Thanks
Sau!