From patchwork Wed Jun 22 17:36:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [07/40] gnome-doc-utils: Fix the owner/group on select files Date: Wed, 22 Jun 2011 17:36:01 -0000 From: Mark Hatle X-Patchwork-Id: 6267 Message-Id: <319f2211c60cb2ae2d1b9a1099dfcf74c47c0369.1308763995.git.mark.hatle@windriver.com> To: All of the files in ${datadir}/xml/gnome/xslt were being given the uid/gid of the build user. Fix this for the target case, avoid it in the native. Signed-off-by: Mark Hatle --- meta/recipes-gnome/gnome/gnome-doc-utils.inc | 4 ++++ meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc index b541753..4c13626 100644 --- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc +++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc @@ -6,9 +6,13 @@ inherit gnome gettext EXTRA_OECONF = "--disable-scrollkeeper" +FIX_OWNERS = "chown -R root:root ${D}" +FIX_OWNERS_virtclass-native = "" + do_install_append() { mkdir -p ${D}${datadir}/xml/gnome/xslt/ cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/ + test -n "${FIX_OWNERS}" && eval ${FIX_OWNERS} || : } FILES_${PN} += "${datadir}/xml*" diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb index e7bf6e9..d85697f 100644 --- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb +++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb @@ -1,7 +1,7 @@ require gnome-doc-utils.inc LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \ file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343" -PR = "r0" +PR = "r1" SRC_URI += "file://xsltproc_nonet.patch"