[oe-commits] Richard Purdie : eglibc-locale: Ensure files have correct ownership
git at git.openembedded.org
git at git.openembedded.org
Tue Mar 26 17:54:34 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 90fc8efb88f82f111523e6584e66ae4ff5851426
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=90fc8efb88f82f111523e6584e66ae4ff5851426
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Mar 26 17:35:11 2013 +0000
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 at linuxfoundation.org>
---
meta/recipes-core/eglibc/eglibc-locale.inc | 1 +
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 41cbf48..3d6382d 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}
}
More information about the Openembedded-commits
mailing list