Fix manifest preload location 59/98259/1
authorPiotr Ganicz <p.ganicz@samsung.com>
Wed, 16 Nov 2016 15:37:34 +0000 (16:37 +0100)
committerPiotr Ganicz <p.ganicz@samsung.com>
Wed, 16 Nov 2016 16:13:38 +0000 (17:13 +0100)
This patch sets manifest location for preload request to TZ_SYS_RO_PACKAGES.

Change-Id: I678e78981fdcb8698d1cda8f1b5eba7bf6173e49

src/wgt/step/pkgmgr/step_generate_xml.cc

index a20a3a30729aeea41a1775fc8b9e78b3ae7915fd..3e6356025af3fcdcad0ae86b66d1cca9b4d740ad 100644 (file)
@@ -340,7 +340,8 @@ common_installer::Step::Status StepGenerateXml::precheck() {
 
 common_installer::Step::Status StepGenerateXml::process() {
   bf::path xml_path =
-      bf::path(getUserManifestPath(context_->uid.get(), false))
+      bf::path(getUserManifestPath(context_->uid.get(),
+                  context_->is_preload_request.get()))
       / bf::path(context_->pkgid.get());
   xml_path += ".xml";
   context_->xml_path.set(xml_path.string());