diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-07-28 17:05:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-01 14:16:55 +0100 |
commit | 09b382a76fe77b851df5c7c7ddfd8e68c74d7fa4 (patch) | |
tree | f837c49ad43b84170a0fbf4a6c86128ac17a9224 /meta/recipes-devtools | |
parent | 43d3061b17395157d643a3958603ca5d006b3b7a (diff) | |
download | poky-09b382a76fe77b851df5c7c7ddfd8e68c74d7fa4.tar.gz |
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 <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc | 5 |
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 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 | |||
20 | # The .zip file extracts to the current dir | 20 | # The .zip file extracts to the current dir |
21 | S = "${WORKDIR}" | 21 | S = "${WORKDIR}" |
22 | 22 | ||
23 | INC_PR = "r2" | 23 | INC_PR = "r3" |
24 | 24 | ||
25 | SSTATEPOSTINSTFUNCS += "docbook_sgml_dtd_sstate_postinst" | 25 | SSTATEPOSTINSTFUNCS += "docbook_sgml_dtd_sstate_postinst" |
26 | SYSROOT_PREPROCESS_FUNCS += "docbook_sgml_dtd_sysroot_preprocess" | 26 | SYSROOT_PREPROCESS_FUNCS += "docbook_sgml_dtd_sysroot_preprocess" |
@@ -45,6 +45,9 @@ docbook_sgml_dtd_sstate_postinst () { | |||
45 | # Ensure that the catalog file sgml-docbook.cat is properly | 45 | # Ensure that the catalog file sgml-docbook.cat is properly |
46 | # updated when the package is installed from sstate cache. | 46 | # updated when the package is installed from sstate cache. |
47 | ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-sgml-dtd-${DTD_VERSION} \ | 47 | ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-sgml-dtd-${DTD_VERSION} \ |
48 | --add ${sysconfdir}/sgml/sgml-docbook.bak \ | ||
49 | ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat | ||
50 | ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-sgml-dtd-${DTD_VERSION} \ | ||
48 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ | 51 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ |
49 | ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat | 52 | ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat |
50 | fi | 53 | fi |