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 <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
09b382a76f
commit
ca6740eb12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue