Revert "Change path of directory for mount point of MountInstall mode" 99/233399/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Thu, 14 May 2020 09:08:56 +0000 (18:08 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Thu, 14 May 2020 09:09:06 +0000 (18:09 +0900)
This reverts commit 45b92e745e1ab952d90867414097fc86acccfa69.

Change-Id: Idb5cd39f486341a194586ddc9a0c3127414166c8

src/common/step/mount/step_mount_unpacked.cc

index de79bf6..3bed9e6 100644 (file)
 namespace bf = boost::filesystem;
 namespace bs = boost::system;
 
-namespace {
-
-const char kPackageUnpackDirPath[] = UNPACKDIR;
-
-}  // namespace
-
 namespace common_installer {
 namespace mount {
 
 Step::Status StepMountUnpacked::process() {
-  bf::path tmp_dir = GenerateTmpDir(kPackageUnpackDirPath);
+  bf::path tmp_dir = GenerateTmpDir(context_->root_application_path.get());
   context_->unpacked_dir_path.set(tmp_dir);
 
   TzipInterface tzip(context_->unpacked_dir_path.get());