openjade-native: run install-catalog only during do_populate_sysroot
(From OE-Core rev: 638a3d15a84edfdd218a8c40306482f6c086b4e7) 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
67f349683f
commit
733c9b913d
|
@ -62,9 +62,12 @@ do_install() {
|
|||
}
|
||||
|
||||
openjade_sstate_postinst() {
|
||||
# Ensure that the catalog file sgml-docbook.cat is properly
|
||||
# updated when the package is installed from sstate cache.
|
||||
install-catalog \
|
||||
--add ${sysconfdir}/sgml/sgml-docbook.cat \
|
||||
${sysconfdir}/sgml/openjade-${PV}.cat
|
||||
if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
|
||||
then
|
||||
# Ensure that the catalog file sgml-docbook.cat is properly
|
||||
# updated when the package is installed from sstate cache.
|
||||
install-catalog \
|
||||
--add ${sysconfdir}/sgml/sgml-docbook.cat \
|
||||
${sysconfdir}/sgml/openjade-${PV}.cat
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue