meta-tizen: Update libslp-sysman recipe
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 11 Jun 2014 13:18:31 +0000 (15:18 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:20:37 +0000 (09:20 -0800)
Add pre/post install/uninstall scripts.

Change-Id: I5dce7295577e1ebd4a0c9f31faff464c0cbc314e
(From meta-tizen rev: fe71b3c156574d51c8ce8d50ea6c30480e60a5fe)

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc

index 2752799..a0a8c74 100644 (file)
@@ -114,6 +114,18 @@ do_install() {
  
 }
 
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " sysman-internal-dev "
 PACKAGES += " sysman-dev "
 PACKAGES += " sysman "