From 5dd2625829eaeefb50e75bf30eb54ad088915474 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Mon, 6 Apr 2020 12:55:41 +0900 Subject: [PATCH] Change path of directory for mount point of MountInstall mode Change-Id: I6752b57f2cd856c800d548a9eab065e784f64b48 Signed-off-by: Sangyoon Jang --- src/common/step/mount/step_mount_unpacked.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/common/step/mount/step_mount_unpacked.cc b/src/common/step/mount/step_mount_unpacked.cc index 3bed9e6..de79bf6 100644 --- a/src/common/step/mount/step_mount_unpacked.cc +++ b/src/common/step/mount/step_mount_unpacked.cc @@ -17,11 +17,17 @@ 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(context_->root_application_path.get()); + bf::path tmp_dir = GenerateTmpDir(kPackageUnpackDirPath); context_->unpacked_dir_path.set(tmp_dir); TzipInterface tzip(context_->unpacked_dir_path.get()); -- 2.7.4