summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/xmlcatalog.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes-recipe/xmlcatalog.bbclass b/meta/classes-recipe/xmlcatalog.bbclass
index 5826d0a8b5..d3ef7ff43c 100644
--- a/meta/classes-recipe/xmlcatalog.bbclass
+++ b/meta/classes-recipe/xmlcatalog.bbclass
@@ -4,13 +4,17 @@
4# SPDX-License-Identifier: MIT 4# SPDX-License-Identifier: MIT
5# 5#
6 6
7DEPENDS = "libxml2-native" 7# Note that this recipe only handles XML catalogues in the native sysroot, and doesn't
8# yet support catalogue management in the target sysroot or on the target itself.
9# (https://bugzilla.yoctoproject.org/13271)
8 10
9# A whitespace-separated list of XML catalogs to be registered, for example 11# A whitespace-separated list of XML catalogs to be registered, for example
10# "${sysconfdir}/xml/docbook-xml.xml". 12# "${sysconfdir}/xml/docbook-xml.xml".
11XMLCATALOGS ?= "" 13XMLCATALOGS ?= ""
12 14
13SYSROOT_PREPROCESS_FUNCS:append = " xmlcatalog_sstate_postinst" 15DEPENDS:append = " libxml2-native"
16
17SYSROOT_PREPROCESS_FUNCS:append:class-native = " xmlcatalog_sstate_postinst"
14 18
15xmlcatalog_complete() { 19xmlcatalog_complete() {
16 ROOTCATALOG="${STAGING_ETCDIR_NATIVE}/xml/catalog" 20 ROOTCATALOG="${STAGING_ETCDIR_NATIVE}/xml/catalog"