Replace StepRegisterTrustAnchor into StepRecoverTrustAnchor 93/194393/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 7 Aug 2018 10:38:17 +0000 (19:38 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Tue, 4 Dec 2018 05:13:22 +0000 (14:13 +0900)
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 0b0fd63..bebc830 100755 (executable)
@@ -77,6 +77,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>
@@ -441,9 +442,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       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() {