summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-07-28 17:05:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-01 13:58:14 +0100
commit457f30a389031947f037bd7ea1217c190c2089c1 (patch)
treefec7d055fea699cdc39affa4fd25488e71e54bf4 /meta
parent09573a276456122b408c5bcebc537455fd1c5f29 (diff)
downloadopenembedded-core-457f30a389031947f037bd7ea1217c190c2089c1.tar.gz
openembedded-core-457f30a389031947f037bd7ea1217c190c2089c1.tar.bz2
openembedded-core-457f30a389031947f037bd7ea1217c190c2089c1.tar.xz
openembedded-core-457f30a389031947f037bd7ea1217c190c2089c1.zip
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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc5
1 files changed, 4 insertions, 1 deletions
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 542600a78..1b357b536 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"
@@ -45,6 +45,9 @@ docbook_sgml_dtd_sstate_postinst () {
# 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
fi