Invoke StepParsePreload when ReadonlyUpdateUninstall 73/138173/2
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 11 Jul 2017 10:26:03 +0000 (19:26 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Thu, 13 Jul 2017 10:26:28 +0000 (10:26 +0000)
StepParsePreload should be invoked for setting system attributes
properly.

Change-Id: I9d40710a2a6a056031d77eeca52de7f7e91bba21
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/wgt/wgt_installer.cc

index 475c05e..ef52922 100755 (executable)
@@ -587,6 +587,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<ci::configuration::StepParseManifest>(
           ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
           ci::configuration::StepParseManifest::StoreLocation::NORMAL);
       AddStep<ci::configuration::StepParseManifest>(
           ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
           ci::configuration::StepParseManifest::StoreLocation::NORMAL);
+      AddStep<ci::configuration::StepParsePreload>();
       AddStep<wgt::configuration::StepSetOldSignatureFilesLocation>();
       AddStep<ci::security::StepCheckSignature>();
       AddStep<ci::configuration::StepSwitchReadonlyMode>();
       AddStep<wgt::configuration::StepSetOldSignatureFilesLocation>();
       AddStep<ci::security::StepCheckSignature>();
       AddStep<ci::configuration::StepSwitchReadonlyMode>();