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 90518151362ea58cd5fd6c9147aa8727aab4d069..36a6bc5e600a522a2123d259cb4e7457bda1ddd8 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 543783825cd46a15a807e951bca209cf96c6fe92..8b2730c74f2c5541605279ff2220382b2a986d68 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