]> code.ossystems Code Review - openembedded-core.git/commit
glibc-locale: Rewrite do_install using install utility instead of cp
authorKhem Raj <raj.khem@gmail.com>
Fri, 8 Feb 2019 00:56:11 +0000 (16:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Feb 2019 14:11:45 +0000 (14:11 +0000)
commit92fdb64ac9689b9cac8a1229b1928b50338969be
tree38e8c6f868456d4ec04138897992400b97ad1486
parent2c3a905061b501b1c79e191a1f275fdb9768a2d6
glibc-locale: Rewrite do_install using install utility instead of cp

This has been a constant source of trouble for build failures due to host-user-contaminated QA
errors of sort

ERROR: QA Issue: glibc-locale: /glibc-binary-localedata-ca-es+valencia/usr/lib/locale/ca_ES@valencia/LC_MONETARY is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

So far we have tried to mould cp command into not carrying the build
user permissions into install area but it is never entirely fixed since
the issue keeps popping up in various scenes

This patch replaces use of cp with install utility and specifies install
mode for files explcitly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-locale.inc