[OE-core] [PATCH 0/7] New QA tests for unsafe references to exec_prefix [v2]

Andreas Müller schnitzeltony at gmx.de
Fri Jan 6 00:52:57 UTC 2012


On Friday, January 06, 2012 01:31:51 AM Saul Wold wrote:
> On 01/03/2012 07:56 PM, Scott Garman wrote:
> > Hello,
> > 
> > This is a P2 feature for Yocto 1.2. It adds two new QA tests to check
> > files in base_bindir, base_sbindir, and base_libdir for references to
> > files under exec_prefix (e.g, dynamic linking for binaries and
> > references to exec_prefix in scripts).
> > 
> > The reason for these tests is that exec_prefix (typically /usr) can
> > be kept on a separate partition that may be mounted late in the boot
> > process, or may not be mounted at all during system recovery
> > operations.
> > 
> > It was my original goal to make the dynamic linking test a QA error
> > upon failure, but it turned out the amount of recipe work needed was
> > much larger than I expected. So for the time being they have been
> > changed to generate QA warmings.
> > 
> > The libraries I've moved to base_libdir in this pull request should
> > take care of all binaries in /bin and /sbin for packages we include
> > in core-image-minimal and -sato.
> > 
> > I would like to ask recipe maintainers to look for these QA warnings
> > and fix them ASAP, as I believe we'll be changing this to a QA error
> > before the release of 1.2.
> > 
> > This is a second pull request that is rebased against the latest
> > master with merge conflicts resolved, and only sets BUILD_LDFLAGS
> > in ncurses.inc for virtclass-native.
> > 
I missed that and it explains first part of [1]. Wondering how long this will us 
take...

Andreas

[1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-
January/015667.html




More information about the Openembedded-core mailing list