On 01/17/2013 05:52 PM, Burton, Ross wrote:
On 17 January 2013 07:07, Hongxu Jia <[email protected]> wrote:
Let gtk_immodule_cache_postrm exit with ok at image creation time

[YOCTO #3633]

Signed-off-by: Hongxu Jia <[email protected]>
---
  meta/classes/gtk-immodules-cache.bbclass |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/gtk-immodules-cache.bbclass 
b/meta/classes/gtk-immodules-cache.bbclass
index 9ffb03b..6e1f5ef 100644
--- a/meta/classes/gtk-immodules-cache.bbclass
+++ b/meta/classes/gtk-immodules-cache.bbclass
@@ -31,7 +31,7 @@ fi

  gtk_immodule_cache_postrm() {
  if [ "x$D" != "x" ]; then
-    exit 1
+    exit 0
  fi
  if [ ! -z `which gtk-query-immodules-2.0` ]; then
      gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
Surely you still want to run the postrm, and by exiting with 0 you're
not deferring it.  Can't this use the same logic as the postinst to
run on both build machine and target?

Ross
No problem, I will use the same logic as the postinst to do that.

Thanks,
Hongxu

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to