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