Set memory/msg/ready in %post to fix msg-server state detection 1.0_post
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Fri, 27 Jul 2012 22:34:25 +0000 (15:34 -0700)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Fri, 27 Jul 2012 23:26:03 +0000 (16:26 -0700)
When msg-server launches, it sets memory/msg/ready to True, but if the
key does not already exist, this set will fail.

Also, memory status reports (from Settings), Messages app settings, and
the Messages app itself rely on this vconf key being set to True to
function properly.

Create the vconf key in %post for this package to fix the issue.

Change-Id: I4c12a41d84a8d2a284aa8f8e81655cba79a702be
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
packaging/msg-service.changes
packaging/msg-service.spec

index 9051815..36a6bc5 100644 (file)
@@ -1,3 +1,6 @@
+* Fri Jul 27 2012 Patrick McCarty <patrick.mccarty@linux.intel.com> 2043b13
+- Set memory/msg/ready in %post to fix msg-server state detection
+
 * Mon Jul 23 2012 Patrick McCarty <patrick.mccarty@linux.intel.com> 884bd67
 - Add missing BuildRequires for drm-client/drm-trusted
 
index 5437838..8b2730c 100644 (file)
@@ -255,6 +255,9 @@ vconftool set -t int db/badge/org.tizen.message 0
 vconftool set -t int db/msg/recv_sms 0 -u 0
 vconftool set -t int db/msg/recv_mms 0 -u 0
 
+# Message server state
+vconftool set -t bool memory/msg/ready 0 -i -g 5000
+
 %postun -p /sbin/ldconfig
 
 %postun tools -p /sbin/ldconfig