summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libxslt
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-11-30 16:46:37 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-05 18:01:05 +0000
commit87298099f1e0820655b3a80ddd47e63c7e60cd15 (patch)
tree31e50c02b1f19a378477700e96c526de32cfbc76 /meta/recipes-support/libxslt
parent8ad1d1d6f61d07971138b131559c13fb9c1c2d46 (diff)
downloadpoky-87298099f1e0820655b3a80ddd47e63c7e60cd15.tar.gz
libxslt: create wrapper to avoid host system referencing
By default, xsltproc from libxslt would use configuration files under /etc/xml. To avoid host system contamination, we create a wrapper for this command to make it use configuration files in the sysroot directory. (From OE-Core rev: f14ecfa98baf98edf47b6820d3b0b3af376c5623) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libxslt')
-rw-r--r--meta/recipes-support/libxslt/libxslt_1.1.28.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.28.bb b/meta/recipes-support/libxslt/libxslt_1.1.28.bb
index 0b2526dbee..ded883e457 100644
--- a/meta/recipes-support/libxslt/libxslt_1.1.28.bb
+++ b/meta/recipes-support/libxslt/libxslt_1.1.28.bb
@@ -35,6 +35,11 @@ RPROVIDES_${PN}-bin += "${PN}-utils"
35RCONFLICTS_${PN}-bin += "${PN}-utils" 35RCONFLICTS_${PN}-bin += "${PN}-utils"
36RREPLACES_${PN}-bin += "${PN}-utils" 36RREPLACES_${PN}-bin += "${PN}-utils"
37 37
38
39do_install_append_class-native () {
40 create_wrapper ${D}/${bindir}/xsltproc XML_CATALOG_FILES=${sysconfdir}/xml/catalog.xml
41}
42
38FILES_${PN} += "${libdir}/libxslt-plugins" 43FILES_${PN} += "${libdir}/libxslt-plugins"
39FILES_${PN}-dev += "${libdir}/xsltConf.sh" 44FILES_${PN}-dev += "${libdir}/xsltConf.sh"
40 45