From ca6740eb120e7d718d7732747cb43222ce893b6e Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 28 Jul 2011 17:05:54 -0700 Subject: docbook-dsssl-stylesheets-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: 4d4047c7b997a9cee96f170c203315cbd82ff084) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../docbook-dsssl-stylesheets-native_1.79.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb index a776ea50ed..c70e76dd81 100644 --- a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb +++ b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb @@ -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 -- cgit v1.2.3-54-g00ecf