#include <common/step/security/step_save_signature.h>
#include <common/step/security/step_update_security.h>
#include <common/step/security/step_register_trust_anchor.h>
+#include <common/step/security/step_revoke_trust_anchor.h>
#include <common/step/security/step_unregister_trust_anchor.h>
#include "tpk/step/configuration/step_adjust_install_location.h"
AddStep<ci::backup::StepBackupIcons>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<ci::filesystem::StepAcquireExternalStorage>(true);
+ AddStep<ci::security::StepRevokeTrustAnchor>();
AddStep<ci::backup::StepCopyBackup>();
AddStep<ci::filesystem::StepUpdateTep>();
AddStep<ci::filesystem::StepUpdateStorageDirectories>();
AddStep<ci::backup::StepBackupManifest>();
AddStep<ci::backup::StepBackupIcons>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
+ AddStep<ci::security::StepRevokeTrustAnchor>();
AddStep<ci::rds::StepRDSParse>();
AddStep<ci::rds::StepRDSModify>();
AddStep<ci::filesystem::StepUpdateTep>();
AddStep<ci::backup::StepBackupIcons>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<ci::filesystem::StepAcquireExternalStorage>(true);
+ AddStep<ci::security::StepRevokeTrustAnchor>();
AddStep<ci::backup::StepCopyBackup>();
AddStep<ci::filesystem::StepUpdateTep>();
AddStep<ci::filesystem::StepUpdateStorageDirectories>();
AddStep<ci::filesystem::StepRecoverChangeOwner>();
AddStep<ci::security::StepRecoverSecurity>();
AddStep<ci::pkgmgr::StepRecoverApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
}
void TpkInstaller::MountInstallSteps() {
ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
ci::configuration::StepParseManifest::StoreLocation::BACKUP);
AddStep<ci::configuration::StepBlockCrossUpdate>();
+ AddStep<ci::security::StepRevokeTrustAnchor>();
AddStep<ci::pkgmgr::StepKillApps>();
AddStep<ci::backup::StepBackupManifest>();
AddStep<ci::backup::StepBackupIcons>();
AddStep<ci::configuration::StepSwitchReadonlyMode>();
AddStep<ci::configuration::StepBlockCrossUpdate>();
AddStep<ci::pkgmgr::StepKillApps>();
+ AddStep<ci::security::StepRevokeTrustAnchor>();
AddStep<ci::filesystem::StepCopy>();
AddStep<ci::filesystem::StepCopyTep>();
AddStep<ci::filesystem::StepCreateStorageDirectories>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::security::StepRollbackDeinstallationSecurity>();
AddStep<ci::filesystem::StepRemoveTep>();
+ AddStep<ci::security::StepRevokeTrustAnchor>();
AddStep<ci::security::StepRegisterTrustAnchor>(
ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(