public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][kirkstone 13/19] libxml2: wrap xmllint to use the correct XML catalogues
Date: Wed, 31 Aug 2022 04:39:33 -1000	[thread overview]
Message-ID: <feb6eb9bd2a193ede55339e5f45bb7851df64bcd.1661956484.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1661956484.git.steve@sakoman.com>

From: Ross Burton <ross.burton@arm.com>

Install a wrapper around xmllint in native builds to set
XML_CATALOG_FILES to the correct location of the XML catalogues, so that
the callers of this script (like xmlto) don't need to do the same.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8159b47e7ddddaca57ade2ecf24d8ff9a0abf26a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-core/libxml/libxml2_2.9.14.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/libxml/libxml2_2.9.14.bb b/meta/recipes-core/libxml/libxml2_2.9.14.bb
index e58298d3b0..d803db8672 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.14.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.14.bb
@@ -109,6 +109,8 @@ do_install_ptest () {
 do_install:append:class-native () {
 	# Docs are not needed in the native case
 	rm ${D}${datadir}/gtk-doc -rf
+
+	create_wrapper ${D}${bindir}/xmllint XML_CATALOG_FILES=${sysconfdir}/xml/catalog
 }
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.25.1



  parent reply	other threads:[~2022-08-31 14:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31 14:39 [OE-core][kirkstone 00/19] Patch review Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 01/19] sqlite: fix CVE-2022-35737 Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 02/19] bind: upgrade 9.18.4 -> 9.18.5 Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 03/19] linux-yocto/5.15: update to v5.15.60 Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 04/19] linux-yocto/5.15: update to v5.15.62 Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 05/19] linux-yocto: Fix COMPATIBLE_MACHINE regex match Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 06/19] linux-yocto/5.10: update to v5.10.136 Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 07/19] linux-yocto/5.10: update to v5.10.137 Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 08/19] lttng-modules: fix build for kernel 5.10.137 Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 09/19] shadow: Enable subid support Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 10/19] rootfspostcommands.py: Cleanup subid backup files generated by shadow-utils Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 11/19] shadow: Avoid nss warning/error with musl Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 12/19] util-linux: Remove --enable-raw from EXTRA_OECONF Steve Sakoman
2022-08-31 14:39 ` Steve Sakoman [this message]
2022-08-31 14:39 ` [OE-core][kirkstone 14/19] parselogs: Ignore xf86OpenConsole error Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 15/19] xinetd: Pass missing -D_GNU_SOURCE Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 16/19] watchdog: Include needed system header for function decls Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 17/19] pinentry: enable _XOPEN_SOURCE on musl for wchar usage in curses Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 18/19] apr: Use correct strerror_r implementation based on libc type Steve Sakoman
2022-08-31 14:39 ` [OE-core][kirkstone 19/19] gcr: Define _GNU_SOURCE Steve Sakoman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=feb6eb9bd2a193ede55339e5f45bb7851df64bcd.1661956484.git.steve@sakoman.com \
    --to=steve@sakoman.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox