]> code.ossystems Code Review - openembedded-core.git/commitdiff
docbook-dsssl-stylesheets-native: Write a bak file for shared state
authorSaul Wold <sgw@linux.intel.com>
Fri, 29 Jul 2011 00:05:54 +0000 (17:05 -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/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb

index a776ea50ed4bc128a9d9e43e4633e77f0657b6ef..c70e76dd814cd23a6c4c2cb1b5abcf31f4e37fae 100644 (file)
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=41;endline=74;md5=875385159b2ee76ecf
 
 DEPENDS = "sgml-common-native"
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-dsssl-${PV}.tar.bz2"
 
@@ -44,6 +44,9 @@ docbook_dsssl_stylesheets_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-docbook-dsssl \
+                       --add ${sysconfdir}/sgml/sgml-docbook.bak \
+                       ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
                ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-dsssl \
                        --add ${sysconfdir}/sgml/sgml-docbook.cat \
                        ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat