[oe] [PATCH] insane: check for .debug as a path component, not part of the path string

Richard Purdie rpurdie at rpsys.net
Tue Feb 23 21:14:51 UTC 2010


On Tue, 2010-02-23 at 13:56 -0700, Tom Rini wrote:
> On Mon, 2010-02-22 at 18:06 -0700, an unknown sender wrote:
> > From: Chris Larson <chris_larson at mentor.com>
> > 
> > Signed-off-by: Chris Larson <chris_larson at mentor.com>
> 
> Acked-by: Tom Rini <tom_rini at mentor.com>
Acked-by: Richard Purdie <rpurdie at linux.intel.com>

> > ---
> >  classes/insane.bbclass |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/classes/insane.bbclass b/classes/insane.bbclass
> > index 804caf0..c2e8d9c 100644
> > --- a/classes/insane.bbclass
> > +++ b/classes/insane.bbclass
> > @@ -279,7 +279,7 @@ def package_qa_check_dbg(path, name,d, elf):
> >      sane = True
> >  
> >      if not "-dbg" in name:
> > -        if '.debug' in path:
> > +        if '.debug' in path.split(os.path.sep):
> >              error_msg = "non debug package contains .debug directory: %s path %s" % \
> >                       (name, package_qa_clean_path(path,d))
> >              sane = package_qa_handle_error(3, error_msg, name, path, d)
> 
> 






More information about the Openembedded-devel mailing list