diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-04-04 13:09:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-04 23:45:28 +0100 |
commit | 620679dbb552d67c0697497005685df932e1b050 (patch) | |
tree | b02c6e01b62bf251d986b148fc76dccd54e21462 /meta/recipes-devtools/docbook-dsssl-stylesheets | |
parent | 638a3d15a84edfdd218a8c40306482f6c086b4e7 (diff) | |
download | openembedded-core-620679dbb552d67c0697497005685df932e1b050.tar.gz openembedded-core-620679dbb552d67c0697497005685df932e1b050.tar.bz2 openembedded-core-620679dbb552d67c0697497005685df932e1b050.zip |
docbook-dsssl-stylesheets-native: run install-catalog only during do_populate_sysroot
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-devtools/docbook-dsssl-stylesheets')
-rw-r--r-- | meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb | 13 |
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 fc4d266a9c..88d24dd949 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 } |