Patchwork [06/22] openjade-native: Write a bak file for shared state

login
register
mail settings
Submitter Saul Wold
Date Aug. 1, 2011, 7:35 a.m.
Message ID <6691c2882a54f5e889975e14388383d64dadf1cf.1312182844.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/8937/
State New, archived
Headers show

Comments

Saul Wold - Aug. 1, 2011, 7:35 a.m.
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>
---
 .../openjade/openjade-native_1.3.2.bb              |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Patch

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 da59406..c71f22a 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