Change path of rds delta file 99/114699/2 accepted/tizen/3.0/common/20170222.125351 accepted/tizen/3.0/ivi/20170222.081611 accepted/tizen/3.0/mobile/20170222.081237 accepted/tizen/3.0/tv/20170222.081356 accepted/tizen/3.0/wearable/20170222.081437 submit/tizen_3.0/20170221.004258
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 14 Feb 2017 11:45:12 +0000 (20:45 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Fri, 17 Feb 2017 06:21:12 +0000 (22:21 -0800)
- IDE cannot access previous path used in 2.4 so
path of rds delta file has changed.
- So change unpacked dir when reinstall

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

index 65b0904..2e53d9a 100644 (file)
@@ -70,7 +70,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);