The unpacked dir path should not be changed. The extracted files will be
recovered without changing unpacked dir path.
Change-Id: Iab1444c1ed26718ae0651263258906a482caac4d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
LOG(DEBUG) << "Extracting entries from zip package...";
bf::path backup_path =
ci::GetBackupPathForPackagePath(context_->GetPkgPath());
- if (context_->request_type.get() == ci::RequestType::MountUpdate &&
- context_->recovery_info.get().recovery_file) {
- context_->recovery_info.get().recovery_file->set_unpacked_dir(backup_path);
- context_->recovery_info.get().recovery_file->WriteAndCommitFileContent();
- }
for (auto& entry : tpk::GetExtractEntries()) {
LOG(DEBUG) << "Extracting: " << entry;