[OE-core] [PATCH 07/40] gnome-doc-utils: Fix the owner/group on select files
Mark Hatle
mark.hatle at windriver.com
Wed Jun 22 17:36:01 UTC 2011
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 <mark.hatle at windriver.com>
---
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"
--
1.7.3.4
More information about the Openembedded-core
mailing list