diff options
| author | Scott Garman <scott.a.garman@intel.com> | 2011-04-04 13:09:26 -0700 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2011-04-19 13:41:39 -0700 |
| commit | 1528b88657646fbf22dc43729992260606f4ef75 (patch) | |
| tree | 85b1a53ec39fea084f247f6082dea3e3d3c37747 /meta | |
| parent | 65a1eaf069608ceb4e1fafb4499f5e217dc95505 (diff) | |
| download | poky-1528b88657646fbf22dc43729992260606f4ef75.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.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 () { | |||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | docbook_dsssl_stylesheets_sstate_postinst () { | 40 | docbook_dsssl_stylesheets_sstate_postinst () { |
| 41 | # Ensure that the catalog file sgml-docbook.cat is properly | 41 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] |
| 42 | # updated when the package is installed from sstate cache. | 42 | then |
| 43 | install-catalog \ | 43 | # Ensure that the catalog file sgml-docbook.cat is properly |
| 44 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ | 44 | # updated when the package is installed from sstate cache. |
| 45 | ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat | 45 | install-catalog \ |
| 46 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ | ||
| 47 | ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat | ||
| 48 | fi | ||
| 46 | } | 49 | } |
