From 09b382a76fe77b851df5c7c7ddfd8e68c74d7fa4 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 28 Jul 2011 17:05:30 -0700 Subject: docbook-sgml-dtd-native: Write a bak file for shared state This patch writes a sgml-docbook.bak that is read by the sgml-common during a shared state sysroot populate, because it comes out of order. (From OE-Core rev: 457f30a389031947f037bd7ea1217c190c2089c1) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc index 542600a784..1b357b5368 100644 --- a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc +++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc @@ -20,7 +20,7 @@ SRC_URI = "http://www.docbook.org/sgml/${DTD_VERSION}/docbook-${DTD_VERSION}.zip # The .zip file extracts to the current dir S = "${WORKDIR}" -INC_PR = "r2" +INC_PR = "r3" SSTATEPOSTINSTFUNCS += "docbook_sgml_dtd_sstate_postinst" SYSROOT_PREPROCESS_FUNCS += "docbook_sgml_dtd_sysroot_preprocess" @@ -44,6 +44,9 @@ docbook_sgml_dtd_sstate_postinst () { then # Ensure that the catalog file sgml-docbook.cat is properly # updated when the package is installed from sstate cache. + ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-sgml-dtd-${DTD_VERSION} \ + --add ${sysconfdir}/sgml/sgml-docbook.bak \ + ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-sgml-dtd-${DTD_VERSION} \ --add ${sysconfdir}/sgml/sgml-docbook.cat \ ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat -- cgit v1.2.3-54-g00ecf