alarm-manager: remove failing vconftool command 48/25848/3
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 11 Aug 2014 07:26:59 +0000 (09:26 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 11 Aug 2014 08:18:01 +0000 (10:18 +0200)
In the postinst script, one of the vconftool command fails to execute
which prevents the image to be built. As a TEMPORARY WORKAROUND the
failing command is removed. This patch will need to be reverted as soon
as this issue has been properly corrected.

Bug-Tizen: BTY-24
Change-Id: I6d469c9fd8ae878890c98bc274b5e2a0df6712df
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/alarm-manager/alarm-manager-extraconf.inc

index e69de29..0a3eb59 100644 (file)
@@ -0,0 +1,12 @@
+pkg_postinst_alarm-server() {
+    #!/bin/sh -e
+
+    vconftool set -t int db/system/timechange 0
+    vconftool set -t double db/system/timechange_external 0
+    # Temporary workaround needed to generate the image
+    #vconftool set -t int memory/system/timechanged 0 -i -g 5000
+    systemctl daemon-reload
+    if [ $1 == 1 ]; then
+        systemctl restart alarm-server.service
+    fi
+}