On Thu, Nov 26, 2015 at 4:15 PM, Jagadeesh Krishnanjanappa <jkrishnanjana...@mvista.com> wrote: >>> WARNING: Could not copy license file >>> /data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/gmp-6.0.0/COPYING.LESSERv3 >>> to >>> /data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/license-destdir/gmp/COPYING.LESSERv3: >>> [Errno 1] Operation not permitted: >>> '/data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/license-destdir/gmp/COPYING.LESSERv3' > > The above warning comes up during do_populate_lic task, and this task > is not being executed in pseudo environment. So changing ownership of > license files to root user (explicitly via "0") fails, as normal user > doesn't have permissions to do so. > > In this case, use of os.getuid() and os.getgid() behaves correctly, by > giving normal user id and solving this warning. So this is one > advantage of using os.getuid() and os.getgid() over explicit "0".
The real fix would be put this to run under pseudo, it seems. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core