Recovery mode for mount install and mount update 40/86740/1
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 2 Sep 2016 11:41:02 +0000 (13:41 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Fri, 2 Sep 2016 12:31:20 +0000 (14:31 +0200)
Recovery mode requires mounting zip package.
Signature files  which needs to be read in next
step are within zip package.

Requires:
 - https://review.tizen.org/gerrit/86739

Change-Id: Ifeb808d5e23a2b607a88dde01d5d252d5bb64425

src/tpk/tpk_installer.cc

index 0481b35..9b72ac5 100644 (file)
@@ -42,6 +42,7 @@
 #include <common/step/filesystem/step_update_tep.h>
 #include <common/step/mount/step_mount_unpacked.h>
 #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_removable.h>
 #include <common/step/pkgmgr/step_check_restriction.h>
@@ -347,6 +348,7 @@ void TpkInstaller::RecoverySteps() {
   AddStep<ci::filesystem::StepRecoverExternalStorage>();
   AddStep<ci::filesystem::StepRecoverStorageDirectories>();
   AddStep<ci::filesystem::StepRecoverFiles>();
+  AddStep<ci::mount::StepMountRecover>();
   AddStep<tpk::security::StepTpkRecoverSignature>();
   AddStep<ci::pkgmgr::StepRecoverApplication>();
   AddStep<ci::security::StepRecoverSecurity>();