summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-26 17:35:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-26 17:46:15 +0000
commit90fc8efb88f82f111523e6584e66ae4ff5851426 (patch)
tree29ccf13836545f586eb911a617b1e5b11b27b956
parent12dc7ae22ddaae0d79e0f86b66c1f5a9b18329f9 (diff)
downloadopenembedded-core-90fc8efb88f82f111523e6584e66ae4ff5851426.tar.gz
openembedded-core-90fc8efb88f82f111523e6584e66ae4ff5851426.tar.bz2
openembedded-core-90fc8efb88f82f111523e6584e66ae4ff5851426.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/eglibc/eglibc-locale.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
index 41cbf48dd3..3d6382d047 100644
--- a/meta/recipes-core/eglibc/eglibc-locale.inc
+++ b/meta/recipes-core/eglibc/eglibc-locale.inc
@@ -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}
}