bf::path xml_path = context_->pkg_path.get();
xml_path /= "tizen-manifest.xml";
- if (!bf::exists(xml_path)) {
+ if (bf::exists(xml_path)) {
+ xml_path_ = xml_path;
+ } else if (bf::exists(context_->xml_path.get())) {
+ xml_path_ = context_->xml_path.get();
+ } else {
LOG(ERROR) << "Cannot find manifest file";
return Step::Status::MANIFEST_NOT_FOUND;
}
- xml_path_ = xml_path;
-
return Step::Status::OK;
}
AddStep<ci::configuration::StepParseManifest>(
ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
ci::configuration::StepParseManifest::StoreLocation::NORMAL);
+ AddStep<tpk::pkgmgr::StepConvertXml>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<tpk::filesystem::StepCheckPkgDirPath>();
AddStep<ci::configuration::StepParsePreload>();
AddStep<ci::configuration::StepParseManifest>(
ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
ci::configuration::StepParseManifest::StoreLocation::NORMAL);
+ AddStep<tpk::pkgmgr::StepConvertXml>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<ci::configuration::StepParsePreload>();
AddStep<ci::configuration::StepCheckTizenVersion>();