Enable security steps 06/260106/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Fri, 18 Jun 2021 10:54:11 +0000 (19:54 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Fri, 18 Jun 2021 10:54:55 +0000 (19:54 +0900)
Change-Id: I5a74cdd48c3508351c65a1eaaa22d163f03e0af8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/rpk/rpk_installer.cc

index e0431e6..4f38641 100644 (file)
@@ -50,11 +50,6 @@ void RpkInstaller::InstallSteps() {
       rpk::configuration::StepParseRpkManifest::StoreLocation::NORMAL);
   AddStepAfter<rpk::pkgmgr::StepRpkManifestAdjustment>("Copy");
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("RegisterSecurity");
-  RemoveStep("ChangeOwnershipAndPermission");
-
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -106,11 +101,6 @@ void RpkInstaller::UpdateSteps() {
 
   AddStepAfter<rpk::pkgmgr::StepRpkManifestAdjustment>("CopyBackup");
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("UpdateSecurity");
-  RemoveStep("ChangeOwnershipAndPermission");
-
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -223,11 +213,6 @@ void RpkInstaller::ManifestDirectInstallSteps() {
 
   AddStepAfter<rpk::pkgmgr::StepRpkManifestAdjustment>("Signature");
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("RegisterSecurity");
-  RemoveStep("ChangeOwnershipAndPermission");
-
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -265,10 +250,6 @@ void RpkInstaller::ManifestDirectUpdateSteps() {
 
   AddStepAfter<rpk::pkgmgr::StepRpkManifestAdjustment>("Signature");
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("RegisterSecurity");
-  RemoveStep("ChangeOwnershipAndPermission");
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -302,10 +283,6 @@ void RpkInstaller::ManifestPartialInstallSteps() {
     rpk::configuration::StepParseRpkManifest::ManifestLocation::INSTALLED,
     rpk::configuration::StepParseRpkManifest::StoreLocation::NORMAL);
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("RegisterSecurity");
-
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -334,10 +311,6 @@ void RpkInstaller::ManifestPartialUpdateSteps() {
     rpk::configuration::StepParseRpkManifest::ManifestLocation::INSTALLED,
     rpk::configuration::StepParseRpkManifest::StoreLocation::NORMAL);
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("RegisterSecurity");
-
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -404,10 +377,6 @@ void RpkInstaller::ReadonlyUpdateInstallSteps() {
 
   AddStepAfter<rpk::pkgmgr::StepRpkManifestAdjustment>("Copy");
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("UpdateSecurity");
-
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -458,10 +427,6 @@ void RpkInstaller::ReadonlyUpdateUninstallSteps() {
     rpk::configuration::StepParseRpkManifest::ManifestLocation::INSTALLED,
     rpk::configuration::StepParseRpkManifest::StoreLocation::NORMAL);
 
-  // TODO(jungh.yeon) : these steps are temporary removed
-  RemoveStep("Signature");
-  RemoveStep("UpdateSecurity");
-
 /*
   Current step order :
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);