From 1fef99c12ffdc618611d2541cae2710d213cd6fa Mon Sep 17 00:00:00 2001 From: Damian Pietruchowski Date: Tue, 14 Mar 2017 15:52:23 +0100 Subject: [PATCH] Change order of StepRemoveTemporaryDirectory This step should be executed before parse manifest. Package id is written to recovery file in StepParse after StepUnzip. For example if installation is terminated after StepUnzip and package id is not written to recovery file then in StepParseManifest recovery is terminated with status RECOVERY_DONE. In this case unzipped directory is not removed without this commit. Commit, which adds recovery termination with status RECOVERY_DONE: - https://review.tizen.org/gerrit/#/c/118845/ Change-Id: Ieaf8bf3a9b7d1f1594afb876f14b479bf00e6b50 Signed-off-by: Damian Pietruchowski --- src/wgt/wgt_installer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wgt/wgt_installer.cc b/src/wgt/wgt_installer.cc index 32ba8d6..ee1f9b3 100755 --- a/src/wgt/wgt_installer.cc +++ b/src/wgt/wgt_installer.cc @@ -381,10 +381,10 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) void WgtInstaller::RecoverySteps() { AddStep(pkgmgr_); AddStep(); + AddStep(); AddStep( ci::configuration::StepParseManifest::ManifestLocation::RECOVERY, ci::configuration::StepParseManifest::StoreLocation::NORMAL); - AddStep(); AddStep(); AddStep(); AddStep(); -- 2.7.4