eglibc-locale: Ensure files have correct ownership

The copy operation leaves the files owned by the person running the
build which results in warnings in do_package_write_ipk like:

*** Warning: The following files have a UID greater than 99

and incorrect ownership in the packges. This patch addresses this
ownership problem.

(From OE-Core rev: 90fc8efb88f82f111523e6584e66ae4ff5851426)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-03-26 17:35:11 +00:00
parent 95990da935
commit 60c8b258d8
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ do_install () {
if [ -e ${LOCALETREESRC}/${datadir}/locale ]; then
cp -fpPR ${LOCALETREESRC}/${datadir}/locale ${D}${datadir}
fi
chown root.root -R ${D}
cp -fpPR ${LOCALETREESRC}/SUPPORTED ${WORKDIR}
}