In case installation terminated after StepUnzip,
recovery file doesn't have pkgid,
and then StepParseManifest will return RECOVERY_DONE,
and temporary file doesn't be removed
Change-Id: I8102692624a27768c28beb665c851eb3f4d2fd1f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
void HybridInstaller::RecoverySteps() {
AddStep<ci::configuration::StepConfigure>(pkgmgr_);
AddStep<ci::recovery::StepOpenRecoveryFile>();
+ AddStep<ci::filesystem::StepRemoveTemporaryDirectory>();
AddStep<ci::configuration::StepParseManifest>(
ci::configuration::StepParseManifest::ManifestLocation::RECOVERY,
ci::configuration::StepParseManifest::StoreLocation::NORMAL);
- AddStep<ci::filesystem::StepRemoveTemporaryDirectory>();
AddStep<ci::filesystem::StepRecoverIcons>();
AddStep<ci::pkgmgr::StepRecoverParserPlugin>();
AddStep<ci::filesystem::StepRecoverManifest>();