[oe] [PATCH] package.bbclass: search for dangling links in installation directory

Chris Larson clarson at kergoth.com
Wed Apr 14 16:09:45 UTC 2010


On Wed, Apr 14, 2010 at 6:23 AM, Enrico Scholz <
enrico.scholz at sigma-chemnitz.de> wrote:

> Enrico Scholz <enrico.scholz at sigma-chemnitz.de> writes:
>
> > The old dangling link detection used os.stat() on the file and
> > registered it as a dangling link when it was not found. This causes
> > problems when the link is an absolute one because it will check
> > files of the host system.
> > ...
> > As this is only a QA mechanism which does not affect the resulting
> > package, there is checked for generic OSErrors only, not only for
> > ENOENT.  Other problems (e.g. EPERM) will be reported by other
> > functions.
>
> oops... forgot the
>
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
>

Looks reasonable to me.

Acked-by: Chris Larson <chris_larson at mentor.com>
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list