mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
docbook-sgml-dtd-native.inc: run install-catalog only during do_populate_sysroot
(From OE-Core rev: 34ec9086c429bef167554c57a80b5f69d7e61a21) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e659426a45
commit
67f349683f
@@ -39,9 +39,12 @@ do_install () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
docbook_sgml_dtd_sstate_postinst () {
|
docbook_sgml_dtd_sstate_postinst () {
|
||||||
# Ensure that the catalog file sgml-docbook.cat is properly
|
if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
|
||||||
# updated when the package is installed from sstate cache.
|
then
|
||||||
install-catalog \
|
# Ensure that the catalog file sgml-docbook.cat is properly
|
||||||
--add ${sysconfdir}/sgml/sgml-docbook.cat \
|
# updated when the package is installed from sstate cache.
|
||||||
${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
|
install-catalog \
|
||||||
|
--add ${sysconfdir}/sgml/sgml-docbook.cat \
|
||||||
|
${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user