[Tizen-submit] 15846: Changes to Tizen:IVI:Release/vconf

noreply at tizen.org noreply at tizen.org
Thu Oct 10 22:43:09 GMT 2013


Hi,
Patrick McCarty have made the following changes to vconf in project Tizen:IVI:Release. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15846

  submit:       Tizen:IVI:Release:build/vconf(cleanup) -> Tizen:IVI:Release


Message:
Submitter: Patrick McCarty <patrick.mccarty at linux.intel.com>
Comments: Remove /tmp/vconf-init mechanism
Git project: platform/core/appfw/vconf
Tag: submit/tizen/20131010.224337
Commit: 5cdc2874cdc9b3cdcdb2289330403f192fcdfae0 Remove /tmp/vconf-init mechanism

State:   new        2013-10-10T22:41:42 tizenrobot
Comment: <no comment>
changes files:
--------------
--- vconf.changes
+++ vconf.changes
@@ -0,0 +1,3 @@
+* Wed Sep 25 2013 Chengwei Yang <chengwei.yang at intel.com>
+- Fix can not write memory backend key at image creation stage
+

spec files:
-----------
--- vconf.spec
+++ vconf.spec
@@ -2,7 +2,7 @@
 Summary:    Configuration system library
 Version:    0.2.45
 Release:    3
-VCS:        platform/core/appfw/vconf#submit/tizen/20130920.081642-0-g5d3a664984fceaf713f0f0dc40bfb75ffacb77f1
+VCS:        platform/core/appfw/vconf#submit/tizen/20131010.224337-0-g5cdc2874cdc9b3cdcdb2289330403f192fcdfae0
 Group:      System/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz

other changes:
--------------

++++++ vconf-0.2.45.tar.gz
--- packaging/vconf.changes
+++ packaging/vconf.changes
@@ -1,3 +1,6 @@
+* Wed Sep 25 2013 Chengwei Yang <chengwei.yang at intel.com>
+- Fix can not write memory backend key at image creation stage
+
 * Fri Sep 20 2013 Anas Nashif <anas.nashif at intel.com> accepted/tizen/20130913.063407 at c8eb1a2
 - cleanup spec and changelog
 
--- vconf-init
+++ vconf-init
@@ -7,4 +7,3 @@
 
 
 cp -a /opt/var/kdb/memory_init/memory/* /var/run/memory
-touch /tmp/vconf-initialized
--- vconf.c
+++ vconf.c
@@ -37,8 +37,6 @@
 #define VCONF_ERROR_RETRY_CNT 20
 #define VCONF_ERROR_RETRY_SLEEP_UTIME 10000
 
-#define VCONF_NOT_INITIALIZED (access("/tmp/vconf-initialized", F_OK) == -1)
-
 #ifdef VCONF_USE_SQLFS_TRANSACTION
 int IN_SBOX=0;
 
@@ -1037,11 +1035,6 @@
 	ret = _vconf_get_key_path(keynode->keyname, path);
 	retv_if(ret != VCONF_OK, ret);
 
-	if(prefix == VCONF_BACKEND_MEMORY && VCONF_NOT_INITIALIZED) {
-		func_ret = VCONF_ERROR_NOT_INITIALIZED;
-		goto out_return;
-	}
-
 #ifdef VCONF_USE_BACKUP_TRANSACTION
 	if(prefix == VCONF_BACKEND_DB && keynode->type == VCONF_TYPE_STRING) {
 		_vconf_get_backup_path(keynode->keyname, backup_path);
@@ -1216,12 +1209,7 @@
 		is_busy_err = 0;
 		retry++;
 
-		if(VCONF_NOT_INITIALIZED)
-		{
-			ERR("%s : vconf is not initialized\n", keynode->keyname);
-			is_busy_err = 1;
-		}
-		else if(ret == VCONF_ERROR_FILE_OPEN)
+		if(ret == VCONF_ERROR_FILE_OPEN)
 		{
 			switch (errno)
 			{
@@ -1712,12 +1700,6 @@
 	ret = _vconf_get_key_path(keynode->keyname, path);
 	retv_if(ret != VCONF_OK, ret);
 
-	if(prefix == VCONF_BACKEND_MEMORY && VCONF_NOT_INITIALIZED)
-	{

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list