diff options
| author | Scott Garman <scott.a.garman@intel.com> | 2011-04-04 13:07:17 -0700 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2011-05-05 11:54:50 -0700 |
| commit | f76a807400f08d235549a8f98edddd036ea9a42c (patch) | |
| tree | 01a1a324815f271bf3113f72c9b0bcdde5ba415b | |
| parent | b1febbcb260d32c04ae580a06486e5f79856a03f (diff) | |
| download | poky-f76a807400f08d235549a8f98edddd036ea9a42c.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb index 5c1037a5de..1c672e109e 100644 --- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb +++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | |||
| @@ -62,9 +62,12 @@ do_install() { | |||
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | openjade_sstate_postinst() { | 64 | openjade_sstate_postinst() { |
| 65 | # Ensure that the catalog file sgml-docbook.cat is properly | 65 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] |
| 66 | # updated when the package is installed from sstate cache. | 66 | then |
| 67 | install-catalog \ | 67 | # Ensure that the catalog file sgml-docbook.cat is properly |
| 68 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ | 68 | # updated when the package is installed from sstate cache. |
| 69 | ${sysconfdir}/sgml/openjade-${PV}.cat | 69 | install-catalog \ |
| 70 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ | ||
| 71 | ${sysconfdir}/sgml/openjade-${PV}.cat | ||
| 72 | fi | ||
| 70 | } | 73 | } |
