#include <common/step/configuration/step_parse_manifest.h>
#include <common/step/configuration/step_parse_preload.h>
#include <common/step/filesystem/step_acquire_external_storage.h>
+#include <common/step/filesystem/step_optional_acquire_external_storage.h>
#include <common/step/filesystem/step_clear_data.h>
+#include <common/step/filesystem/step_change_owner.h>
#include <common/step/filesystem/step_copy.h>
#include <common/step/filesystem/step_copy_storage_directories.h>
#include <common/step/filesystem/step_copy_tep.h>
AddStep<ci::pkgmgr::StepRegisterApplication>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::Update:
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::Uninstall:
ci::Plugin::ActionType::Uninstall);
AddStep<ci::pkgmgr::StepKillApps>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
- AddStep<ci::filesystem::StepAcquireExternalStorage>(true);
+ AddStep<ci::filesystem::StepOptionalAcquireExternalStorage>();
AddStep<ci::filesystem::StepRemovePerUserStorageDirectories>();
AddStep<ci::pkgmgr::StepUnregisterApplication>();
AddStep<ci::security::StepRollbackDeinstallationSecurity>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::Recovery:
AddStep<ci::pkgmgr::StepRegisterApplication>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::MountUpdate:
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::ManifestDirectInstall:
AddStep<ci::pkgmgr::StepRegisterApplication>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::ManifestDirectUpdate:
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::filesystem::StepChangeOwner>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
break;
case ci::RequestType::EnablePkg: