Add StepSaveSignature at mount install or update 09/175409/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 6 Apr 2018 00:29:59 +0000 (09:29 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 10 Apr 2018 06:08:35 +0000 (15:08 +0900)
- Distributor signature don't have to be extracted
  because its value will be stored at separated directory.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/174993

Change-Id: Ie55c10fff95954dabe54b75e11ad555ad60ac07f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/tpk/tpk_installer.cc

index 791f22c47c5ee9d8fffde302888cfbdca715e656..84f96fa60d7a376660478b43d1aabf9f3663c0a0 100644 (file)
@@ -439,6 +439,7 @@ void TpkInstaller::MountInstallSteps() {
   AddStep<ci::pkgmgr::StepCheckRestriction>();
   AddStep<ci::configuration::StepCheckTizenVersion>();
   AddStep<ci::security::StepCheckSignature>();
+  AddStep<ci::security::StepSaveSignature>();
   AddStep<tpk::configuration::StepAdjustInstallLocation>();
   AddStep<ci::security::StepPrivilegeCompatibility>(
       ci::security::StepPrivilegeCompatibility::InternalPrivType::TPK);
@@ -478,6 +479,7 @@ void TpkInstaller::MountUpdateSteps() {
   AddStep<ci::configuration::StepParsePreload>();
   AddStep<ci::configuration::StepCheckTizenVersion>();
   AddStep<ci::security::StepCheckSignature>();
+  AddStep<ci::security::StepSaveSignature>();
   AddStep<tpk::configuration::StepAdjustInstallLocation>();
   AddStep<ci::security::StepPrivilegeCompatibility>(
       ci::security::StepPrivilegeCompatibility::InternalPrivType::TPK);