add missing steps in partial case. 96/102396/1
authorjongmyeongko <jongmyeong.ko@samsung.com>
Mon, 5 Dec 2016 13:34:32 +0000 (22:34 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Mon, 5 Dec 2016 13:34:32 +0000 (22:34 +0900)
Change-Id: If8b2ef978475234724590cfe1bc7ff73ebfad2cc
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/tpk/tpk_installer.cc

index bbe2b5c..ceeda76 100644 (file)
@@ -523,6 +523,9 @@ void TpkInstaller::ManifestPartialInstallSteps() {
       ci::configuration::StepParseManifest::StoreLocation::NORMAL);
   AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
   AddStep<ci::configuration::StepParsePreload>();
+  AddStep<ci::security::StepPrivilegeCompatibility>(
+      ci::security::StepPrivilegeCompatibility::InternalPrivType::TPK);
+  AddStep<tpk::security::StepCheckTpkBackgroundCategory>();
   AddStep<ci::security::StepRegisterSecurity>();
   AddStep<ci::pkgmgr::StepRegisterApplication>();
   AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Install);
@@ -537,6 +540,9 @@ void TpkInstaller::ManifestPartialUpdateSteps() {
       ci::configuration::StepParseManifest::StoreLocation::NORMAL);
   AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
   AddStep<ci::configuration::StepParsePreload>();
+  AddStep<ci::security::StepPrivilegeCompatibility>(
+      ci::security::StepPrivilegeCompatibility::InternalPrivType::TPK);
+  AddStep<tpk::security::StepCheckTpkBackgroundCategory>();
   AddStep<ci::security::StepRegisterSecurity>();
   AddStep<ci::pkgmgr::StepUpdateApplication>();
   AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);