mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
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>
This commit is contained in:
@@ -35,6 +35,11 @@ RPROVIDES_${PN}-bin += "${PN}-utils"
|
||||
RCONFLICTS_${PN}-bin += "${PN}-utils"
|
||||
RREPLACES_${PN}-bin += "${PN}-utils"
|
||||
|
||||
|
||||
do_install_append_class-native () {
|
||||
create_wrapper ${D}/${bindir}/xsltproc XML_CATALOG_FILES=${sysconfdir}/xml/catalog.xml
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/libxslt-plugins"
|
||||
FILES_${PN}-dev += "${libdir}/xsltConf.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user