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 13:16:55 +0000 (14:16 +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.

(From OE-Core rev: 4d4047c7b997a9cee96f170c203315cbd82ff084)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb

index a776ea5..c70e76d 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"
 
@@ -45,6 +45,9 @@ docbook_dsssl_stylesheets_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-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
        fi