summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-07-28 17:06:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-01 14:16:55 +0100
commitf48148628729fe2241c28f7f862fdb492aad7749 (patch)
tree124d3e2d830422e157b170dface33df528f16ad0
parentca6740eb120e7d718d7732747cb43222ce893b6e (diff)
downloadpoky-f48148628729fe2241c28f7f862fdb492aad7749.tar.gz
poky-f48148628729fe2241c28f7f862fdb492aad7749.tar.bz2
poky-f48148628729fe2241c28f7f862fdb492aad7749.zip
openjade-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: b372198fe3c9d8be18bd15545fb0bc4dd9d5aa68) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/openjade/openjade-native_1.3.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index da59406aa9..c71f22ad96 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -7,7 +7,7 @@ SECTION = "base"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045"
-PR = "r3"
+PR = "r4"
DEPENDS = "opensp-native sgml-common-native"
RDEPENDS_${PN} = "sgml-common"
@@ -69,6 +69,9 @@ openjade_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-openjade \
+ --add ${sysconfdir}/sgml/sgml-docbook.bak \
+ ${sysconfdir}/sgml/openjade-${PV}.cat
+ ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-openjade \
--add ${sysconfdir}/sgml/sgml-docbook.cat \
${sysconfdir}/sgml/openjade-${PV}.cat
fi