Fix reinstall 90/155390/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 13 Oct 2017 05:33:32 +0000 (14:33 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 13 Oct 2017 07:31:26 +0000 (16:31 +0900)
- SDK deploys rds files into different location due to permission issue
  so change rds path realted with it.

Change-Id: I7dcab005cfa710630bb4f416fa792da330d5e8fa
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/configuration/step_configure.cc

index fb6e91d..d517747 100644 (file)
@@ -66,7 +66,7 @@ Step::Status StepConfigure::process() {
       break;
     case RequestType::Reinstall:
       context_->unpacked_dir_path.set(
-          context_->root_application_path.get() / "tmp" /
+          bf::path(tzplatform_getenv(TZ_SDK_TOOLS)) / "tmp" /
           pkgmgr_->GetRequestInfo());
       context_->pkgid.set(pkgmgr_->GetRequestInfo());
       context_->file_path.set(kStrEmpty);