Check the given package is blacklisted when install 58/58458/7
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 1 Feb 2016 08:09:40 +0000 (17:09 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Tue, 2 Feb 2016 10:18:11 +0000 (02:18 -0800)
Requires:
 - https://review.tizen.org/gerrit/#/c/58457/

Change-Id: If6c53d2afcecc5280ad80a84eef0598b81219397
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/tpk/tpk_installer.cc

index 8b90175..34fdd0c 100644 (file)
@@ -12,6 +12,7 @@
 #include <common/step/step_copy_backup.h>
 #include <common/step/step_copy_storage_directories.h>
 #include <common/step/step_check_old_certificate.h>
+#include <common/step/step_check_blacklist.h>
 #include <common/step/step_delta_patch.h>
 #include <common/step/step_fail.h>
 #include <common/step/step_kill_apps.h>
@@ -102,6 +103,7 @@ void TpkInstaller::InstallSteps() {
       ci::parse::StepParseManifest::ManifestLocation::PACKAGE,
       ci::parse::StepParseManifest::StoreLocation::NORMAL);
   AddStep<ci::tpk::StepParsePreload>();
+  AddStep<ci::blacklist::StepCheckBlacklist>();
   AddStep<ci::security::StepCheckSignature>();
   AddStep<ci::security::StepPrivilegeCompatibility>();
   AddStep<tpk::security::StepCheckTpkBackgroundCategory>();
@@ -124,6 +126,7 @@ void TpkInstaller::UpdateSteps() {
       ci::parse::StepParseManifest::ManifestLocation::PACKAGE,
       ci::parse::StepParseManifest::StoreLocation::NORMAL);
   AddStep<ci::tpk::StepParsePreload>();
+  AddStep<ci::blacklist::StepCheckBlacklist>();
   AddStep<ci::security::StepCheckSignature>();
   AddStep<ci::security::StepPrivilegeCompatibility>();
   AddStep<tpk::security::StepCheckTpkBackgroundCategory>();
@@ -173,6 +176,7 @@ void TpkInstaller::DeltaSteps() {
       ci::parse::StepParseManifest::ManifestLocation::PACKAGE,
       ci::parse::StepParseManifest::StoreLocation::NORMAL);
   AddStep<ci::filesystem::StepDeltaPatch>();
+  AddStep<ci::blacklist::StepCheckBlacklist>();
   AddStep<ci::security::StepCheckSignature>();
   AddStep<ci::security::StepPrivilegeCompatibility>();
   AddStep<tpk::security::StepCheckTpkBackgroundCategory>();