Replace StepRegisterTrustAnchor into StepRecoverTrustAnchor 24/186124/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 7 Aug 2018 10:38:17 +0000 (19:38 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 13 Aug 2018 00:50:56 +0000 (00:50 +0000)
Related changes :
[app-installers] : https://review.tizen.org/gerrit/#/c/186122

Change-Id: I97036bf8d5b2fd88b0655e0e27c728bd4a842030
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/wgt/wgt_installer.cc

index aaf30eb..1c20ef8 100644 (file)
@@ -82,6 +82,7 @@
 #include <common/step/security/step_privilege_compatibility.h>
 #include <common/step/security/step_recover_privilege_compatibility.h>
 #include <common/step/security/step_recover_security.h>
+#include <common/step/security/step_recover_trust_anchor.h>
 #include <common/step/security/step_register_security.h>
 #include <common/step/security/step_revoke_security.h>
 #include <common/step/security/step_rollback_installation_security.h>
@@ -369,8 +370,7 @@ void WgtInstaller::RecoverySteps() {
   AddStep<ci::filesystem::StepRecoverChangeOwner>();
   AddStep<ci::security::StepRecoverSecurity>();
   AddStep<ci::pkgmgr::StepRecoverApplication>();
-  AddStep<ci::security::StepRegisterTrustAnchor>(
-      ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
+  AddStep<ci::security::StepRecoverTrustAnchor>();
 }
 
 void WgtInstaller::MountInstallSteps() {