From 80e0d9e743b64f383e083915478dfa867e9fd37c Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Fri, 27 Jul 2012 15:34:25 -0700 Subject: [PATCH] Set memory/msg/ready in %post to fix msg-server state detection 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 --- packaging/msg-service.changes | 3 +++ packaging/msg-service.spec | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packaging/msg-service.changes b/packaging/msg-service.changes index 9051815..36a6bc5 100644 --- a/packaging/msg-service.changes +++ b/packaging/msg-service.changes @@ -1,3 +1,6 @@ +* Fri Jul 27 2012 Patrick McCarty 2043b13 +- Set memory/msg/ready in %post to fix msg-server state detection + * Mon Jul 23 2012 Patrick McCarty 884bd67 - Add missing BuildRequires for drm-client/drm-trusted diff --git a/packaging/msg-service.spec b/packaging/msg-service.spec index 5437838..8b2730c 100644 --- a/packaging/msg-service.spec +++ b/packaging/msg-service.spec @@ -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 -- 2.7.4