summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-04-04 13:09:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-04 23:51:57 +0100
commitbfcd5d9d063fce8d7a9552460b0e60ca114ff358 (patch)
treef08bac1cd3bb8fb8072834786fe98b153785d476 /meta
parent733c9b913d553e19e9800f36c6dab966ec4faba0 (diff)
downloadast2050-yocto-poky-bfcd5d9d063fce8d7a9552460b0e60ca114ff358.zip
ast2050-yocto-poky-bfcd5d9d063fce8d7a9552460b0e60ca114ff358.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb13
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
index fc4d266..88d24dd 100644
--- a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
+++ b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
@@ -38,9 +38,12 @@ do_install () {
}
docbook_dsssl_stylesheets_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/dsssl-docbook-stylesheets.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/dsssl-docbook-stylesheets.cat
+ fi
}
OpenPOWER on IntegriCloud