Reorder steps for delta update for external installation 78/80278/5
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 15 Jul 2016 08:14:11 +0000 (10:14 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Thu, 28 Jul 2016 09:26:33 +0000 (02:26 -0700)
Requires:
 - https://review.tizen.org/gerrit/80277

To verify, check that delta update mode works for external storage

Change-Id: I5e52418755d4f254c449342df67c446a11eb8aac

src/tpk/tpk_installer.cc

index 1e7559b6bf1d975e975fecddb3cc0b5fac2303b7..b948983d3630553fbe18ae2a0a1d162403108413 100644 (file)
@@ -20,6 +20,8 @@
 #include <common/step/filesystem/step_create_legacy_directories.h>
 #include <common/step/filesystem/step_create_storage_directories.h>
 #include <common/step/filesystem/step_delta_patch.h>
+#include <common/step/filesystem/step_disable_external_mount.h>
+#include <common/step/filesystem/step_enable_external_mount.h>
 #include <common/step/filesystem/step_move_installed_storage.h>
 #include <common/step/filesystem/step_recover_files.h>
 #include <common/step/filesystem/step_recover_icons.h>
@@ -281,7 +283,9 @@ void TpkInstaller::DeltaSteps() {
       ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
       ci::configuration::StepParseManifest::StoreLocation::BACKUP);
   AddStep<ci::configuration::StepCheckTizenVersion>();
+  AddStep<ci::filesystem::StepEnableExternalMount>();
   AddStep<ci::filesystem::StepDeltaPatch>();
+  AddStep<ci::filesystem::StepDisableExternalMount>();
   AddStep<ci::security::StepCheckSignature>();
   AddStep<ci::security::StepPrivilegeCompatibility>();
   AddStep<tpk::security::StepCheckTpkBackgroundCategory>();