[OE-core] [PATCH 2/3] insane.bbclass: add host-user-contaminated test

Christopher Larson clarson at kergoth.com
Wed Aug 26 14:19:17 UTC 2015


On Wed, Aug 26, 2015 at 4:01 AM, Burton, Ross <ross.burton at intel.com> wrote:

> On 26 August 2015 at 09:44, Joshua Lock <joshua.lock at collabora.co.uk>
> wrote:
>
>> I do all of my builds on a separate partition in a directory hierarchy
>> which is owned by my user - if I'm understanding this correctly I'll get QA
>> WARNINGS for all of my builds with this change?
>>
>
> The paths are prefixed with ${D} so pretend the commit log says "in
> packages".


Heh, indeed, it's a package QA test. do_install runs under pseudo, so any
newly created files there, or files chown'd to root, will be fine. If,
however, a recipe does a cp -a or so to install without doing a chown,
you'll end up with files in your rootfs owned by the user that did the
build -- not good.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150826/6cc3dc68/attachment-0002.html>


More information about the Openembedded-core mailing list