]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc-locale: Ensure files have correct ownership
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 17:35:11 +0000 (17:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 17:46:15 +0000 (17:46 +0000)
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>
meta/recipes-core/eglibc/eglibc-locale.inc

index 41cbf48dd3d762d0a9be4a04c357047735f9863f..3d6382d0470b1f60234a327a1f9e38ca1480c26c 100644 (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}
 }