Fix ManifestDirectPartialUpdate mode 81/197681/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:32:14 +0000 (17:32 +0900)
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 0ebad97..6bf6bef 100644 (file)
@@ -555,7 +555,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
     case ci::RequestType::ManifestPartialUpdate: {
       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>(