Replace StepPrivilegeCompatibility with StepRecoverPrivilegeCompatibility 20/167420/2
authorjinwoo.shin <jw0227.shin@samsung.com>
Wed, 17 Jan 2018 06:53:44 +0000 (15:53 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 17 Jan 2018 12:19:41 +0000 (12:19 +0000)
Requires:
 - https://review.tizen.org/gerrit/167411

Change-Id: If3c16e4b1a626df12239e4676cda3a016ce985ff
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
src/tpk/tpk_installer.cc

index 99018c72341af5b59a00bc4cc39e66fc5c4956cd..63335f5e136da4558ec472be48e4fe65d6d26d0f 100644 (file)
@@ -71,6 +71,7 @@
 #include <common/step/security/step_check_signature.h>
 #include <common/step/security/step_privacy_privilege.h>
 #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_register_security.h>
 #include <common/step/security/step_revoke_security.h>
@@ -415,7 +416,7 @@ void TpkInstaller::RecoverySteps() {
   AddStep<ci::filesystem::StepRecoverFiles>();
   AddStep<ci::mount::StepMountRecover>();
   AddStep<tpk::security::StepTpkRecoverSignature>();
-  AddStep<ci::security::StepPrivilegeCompatibility>(
+  AddStep<ci::security::StepRecoverPrivilegeCompatibility>(
       ci::security::StepPrivilegeCompatibility::InternalPrivType::TPK);
   AddStep<ci::filesystem::StepRecoverChangeOwner>();
   AddStep<ci::security::StepRecoverSecurity>();