]> code.ossystems Code Review - openembedded-core.git/commitdiff
openjade-native: Write a bak file for shared state
authorSaul Wold <sgw@linux.intel.com>
Fri, 29 Jul 2011 00:06:22 +0000 (17:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Aug 2011 12:58:14 +0000 (13:58 +0100)
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>
meta/recipes-devtools/openjade/openjade-native_1.3.2.bb

index da59406aa956090869ef0c982f9002b52050f4e5..c71f22ad96f44a4ee254b0733c8a4848d8c6cf19 100644 (file)
@@ -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"
@@ -68,6 +68,9 @@ openjade_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-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