This field was set in context installer constructor where pkgid is
not yet available in installation case.
Change-Id: Ida6f97c763a2f3eec780d0c73fef08562de7547b
: tzplatform_getenv(TZ_SYS_RW_APP);
root_application_path.set(root_app_path);
- application_path.set(
- (fs::path(root_app_path) / fs::path(pkgid.get())).native());
}
ContextInstaller::~ContextInstaller() {
Step::Status StepCopy::process() {
assert(!context_->pkgid.get().empty());
+ // set application path
+ context_->application_path.set(
+ context_->root_application_path.get() / context_->pkgid.get());
+
bf::path install_path = bf::path(context_->application_path.get());
context_->pkg_path.set(install_path.string());
}
context_->manifest_data.set(mfx);
+
+ // TODO(t.iwanek): fix me -> it shouldn't be here
+ // set application path
+ context_->application_path.set(
+ context_->root_application_path.get() / context_->pkgid.get());
+
context_->pkg_path.set(context_->application_path.get());
LOG(DEBUG) << "Successfully parse tizen manifest xml";