[OE-core] [jethro][PATCH] license.bbclass: fix host contamination warnings for license files
Jagadeesh Krishnanjanappa
jkrishnanjanappa at mvista.com
Wed Nov 25 14:58:09 UTC 2015
>
>
> is os.getuid() and os.getgid() the correct value you want to use? I
> would expect root:root.
>
>
Yes, since copy_license_files() function is executed within the pseudo
environement (fakeroot), both os.getuid() and os.getgid() return 0, which
resembles to uid and gid of root user. Also, os.chown accepts integer
values for 2nd and 3rd arguments.
Regards,
Jagadeesh
> > > > else:
> > > > > shutil.copyfile(src, dst)
> > > > > except Exception as e:
> > > > >
> > > > --
> > > > _______________________________________________
> > > > Openembedded-core mailing list
> > > > Openembedded-core at lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> > >
> > > --
> > > Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
> > >
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151125/aaceafd7/attachment-0002.html>
More information about the Openembedded-core
mailing list