docbook-dsssl-stylesheets-native: run install-catalog only during do_populate_sysroot
(From OE-Core rev: 620679dbb552d67c0697497005685df932e1b050) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
733c9b913d
commit
bfcd5d9d06
|
@ -38,9 +38,12 @@ do_install () {
|
||||||
}
|
}
|
||||||
|
|
||||||
docbook_dsssl_stylesheets_sstate_postinst () {
|
docbook_dsssl_stylesheets_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/dsssl-docbook-stylesheets.cat
|
install-catalog \
|
||||||
|
--add ${sysconfdir}/sgml/sgml-docbook.cat \
|
||||||
|
${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue