Store zip file location in manifest_x 40/68540/3 accepted/tizen/common/20160513.123135 submit/tizen/20160511.132536
authorTomasz Iwanek <t.iwanek@samsung.com>
Thu, 5 May 2016 14:13:50 +0000 (16:13 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Wed, 11 May 2016 13:09:58 +0000 (06:09 -0700)
Requires:
 - https://review.tizen.org/gerrit/#/c/68001/

Change-Id: I73bfdf5bfd92261e0fc324759a5b30d9b37daad1

src/common/step/mount/step_mount_install.cc
src/common/step/mount/step_mount_update.cc

index a5f39a5..7fda726 100644 (file)
@@ -45,6 +45,8 @@ Step::Status StepMountInstall::process() {
   if (!CopyFile(context_->file_path.get(), zip_destination_path)) {
     return Status::APP_DIR_ERROR;
   }
+  context_->manifest_data.get()->zip_mount_file =
+      strdup(zip_destination_path.c_str());
 
   bf::path mount_point = GetMountLocation(context_->pkg_path.get());
   if (!bf::exists(mount_point)) {
index 595745d..d60e88f 100644 (file)
@@ -42,6 +42,8 @@ Step::Status StepMountUpdate::process() {
   if (!CopyFile(context_->file_path.get(), zip_destination_path)) {
     return Status::APP_DIR_ERROR;
   }
+  context_->manifest_data.get()->zip_mount_file =
+      strdup(zip_destination_path.c_str());
 
   bf::path mount_point = GetMountLocation(context_->pkg_path.get());
   TzipInterface tzip_final(mount_point);