[OE-core] [jethro][PATCH] license.bbclass: fix host contamination warnings for license files

Burton, Ross ross.burton at intel.com
Thu Nov 26 10:44:16 UTC 2015


On 26 November 2015 at 03:17, Jagadeesh Krishnanjanappa <
jkrishnanjanappa at mvista.com> wrote:

> The intention of using os.getuid() is to avoid writing hardcoded value
>  "0", since os.getuid() return "0" under fakeroot env; if root user is
> having UID as 0.That's the advantage I can think of.
>

root is *always* UID 0, and packaging always runs as root.  Can you send a
tested v2 with explicit 0 instead of assuming that you're running under
pseudo?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151126/64406c80/attachment-0002.html>


More information about the Openembedded-core mailing list