pkg: change destination path for add on packages
authorMunkyu Im <munkyu.im@samsung.com>
Tue, 13 Dec 2016 08:43:05 +0000 (17:43 +0900)
committerMunkyu Im <munkyu.im@samsung.com>
Tue, 13 Dec 2016 08:43:05 +0000 (17:43 +0900)
The previous path does not have permission to push files.

Change-Id: Ie0644cdd6c66cef121d42cb05681376d05217bf9
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
tizen/src/ecs/ecs_msg_injector.c

index c577ea3..dbf6451 100644 (file)
@@ -318,9 +318,9 @@ static bool push_package(const char *data)
 
     char *addon = strtok((char *)data, token);
 #ifndef CONFIG_WIN32
-    ret = sprintf(cmd, "\"%s%s\" -s emulator-%d push \"%s%s%s%s%s\" /opt/usr/apps/tmp/sdk_tools/%s 2>&1",
+    ret = sprintf(cmd, "\"%s%s\" -s emulator-%d push \"%s%s%s%s%s\" /tmp/.emulator/apps/%s 2>&1",
 #else
-    ret = sprintf(cmd, "cmd /S /C \"\"%s%s\" -s emulator-%d push \"%s%s%s%s%s\" /opt/usr/apps/tmp/sdk_tools/%s 2>&1\"",
+    ret = sprintf(cmd, "cmd /S /C \"\"%s%s\" -s emulator-%d push \"%s%s%s%s%s\" /tmp/.emulator/apps/%s 2>&1\"",
 #endif
             bin_dir, sdb_path, get_vm_device_serial_number(),
             bin_dir, platform_path, get_profile_name(), addon_path, addon,