Add StepCheckInstallable 77/98477/1 accepted/tizen/3.0/common/20161118.192956 accepted/tizen/3.0/ivi/20161118.004148 accepted/tizen/3.0/mobile/20161118.004011 accepted/tizen/3.0/tv/20161118.004104 accepted/tizen/3.0/wearable/20161118.004127 submit/tizen_3.0/20161117.054138
authorSangyoon Jang <s89.jang@samsung.com>
Thu, 17 Nov 2016 10:26:55 +0000 (19:26 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Thu, 17 Nov 2016 10:26:55 +0000 (19:26 +0900)
Requires:
 - https://review.tizen.org/gerrit/98476

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

index cf08ddb..4c658cc 100644 (file)
@@ -46,6 +46,7 @@
 #include <common/step/mount/step_mount_install.h>
 #include <common/step/mount/step_mount_recover.h>
 #include <common/step/mount/step_mount_update.h>
+#include <common/step/pkgmgr/step_check_installable.h>
 #include <common/step/pkgmgr/step_check_removable.h>
 #include <common/step/pkgmgr/step_check_restriction.h>
 #include <common/step/pkgmgr/step_kill_apps.h>
@@ -159,6 +160,7 @@ void TpkInstaller::InstallSteps() {
   AddStep<ci::configuration::StepParseManifest>(
       ci::configuration::StepParseManifest::ManifestLocation::PACKAGE,
       ci::configuration::StepParseManifest::StoreLocation::NORMAL);
+  AddStep<ci::pkgmgr::StepCheckInstallable>();
   AddStep<ci::configuration::StepParsePreload>();
   AddStep<ci::pkgmgr::StepCheckRestriction>();
   AddStep<ci::configuration::StepCheckTizenVersion>();
@@ -369,6 +371,7 @@ void TpkInstaller::MountInstallSteps() {
   AddStep<ci::configuration::StepParseManifest>(
       ci::configuration::StepParseManifest::ManifestLocation::PACKAGE,
       ci::configuration::StepParseManifest::StoreLocation::NORMAL);
+  AddStep<ci::pkgmgr::StepCheckInstallable>();
   AddStep<ci::configuration::StepParsePreload>();
   AddStep<ci::pkgmgr::StepCheckRestriction>();
   AddStep<ci::configuration::StepCheckTizenVersion>();
@@ -443,6 +446,7 @@ void TpkInstaller::ManifestDirectInstallSteps() {
   AddStep<ci::configuration::StepParseManifest>(
       ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
       ci::configuration::StepParseManifest::StoreLocation::NORMAL);
+  AddStep<ci::pkgmgr::StepCheckInstallable>();
   AddStep<tpk::pkgmgr::StepConvertXml>();
   AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
   AddStep<tpk::filesystem::StepCheckPkgDirPath>();