Invoke StepParsePreload when ReadonlyUpdateUninstall 26/139426/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 11 Jul 2017 10:26:03 +0000 (19:26 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 19 Jul 2017 02:27:54 +0000 (02:27 +0000)
StepParsePreload should be invoked for setting system attributes
properly.

Change-Id: I9d40710a2a6a056031d77eeca52de7f7e91bba21
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
(cherry picked from commit 5ee35db0967c94419eddb7989311b55640f9ce62)

src/wgt/wgt_installer.cc

index 92614ea..c4d1217 100755 (executable)
@@ -504,6 +504,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       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>();