Fix ManifestDirectPartialUpdate mode 83/197683/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 15 Jan 2019 08:32:14 +0000 (17:32 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Tue, 15 Jan 2019 08:46:14 +0000 (08:46 +0000)
Fix manifest file location for update. The manifest which is located at
ManifestLocation::INSTALLED(where is /usr/share/package/) contains all
apps in package.

Change-Id: I1b81f07145646f40f773df90525b796483091f02
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/hybrid/hybrid_installer.cc

index 25eaa89..95adccd 100644 (file)
@@ -583,7 +583,7 @@ void HybridInstaller::ManifestPartialInstallSteps() {
 void HybridInstaller::ManifestPartialUpdateSteps() {
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
   AddStep<ci::configuration::StepParseManifest>(
-      ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
+      ci::configuration::StepParseManifest::ManifestLocation::PACKAGE,
       ci::configuration::StepParseManifest::StoreLocation::NORMAL);
   AddStep<hybrid::configuration::StepStashTpkConfig>();
   AddStep<wgt::configuration::StepParse>(