summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-04-04 13:02:05 -0700
committerSaul Wold <sgw@linux.intel.com>2011-05-05 11:54:39 -0700
commitb1febbcb260d32c04ae580a06486e5f79856a03f (patch)
treee920a472ff648626d02b9d21984e25f99fd31541 /meta/recipes-devtools
parent24b30e528554de78bb61022923e70dd6574e94ec (diff)
downloadpoky-b1febbcb260d32c04ae580a06486e5f79856a03f.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc13
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
index 83cedbcc11..ede7bb1172 100644
--- a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
@@ -39,9 +39,12 @@ do_install () {
39} 39}
40 40
41docbook_sgml_dtd_sstate_postinst () { 41docbook_sgml_dtd_sstate_postinst () {
42 # Ensure that the catalog file sgml-docbook.cat is properly 42 if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
43 # updated when the package is installed from sstate cache. 43 then
44 install-catalog \ 44 # Ensure that the catalog file sgml-docbook.cat is properly
45 --add ${sysconfdir}/sgml/sgml-docbook.cat \ 45 # updated when the package is installed from sstate cache.
46 ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat 46 install-catalog \
47 --add ${sysconfdir}/sgml/sgml-docbook.cat \
48 ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
49 fi
47} 50}