namespace {
const int MAX_BUF_SIZE = 128;
-const char* OSP_INSTALL_STR1 = "/usr/etc/package-manager/backend/tpk -iv ";
-const char* OSP_INSTALL_STR2 = " -p ";
+const char* OSP_INSTALL_STR = "/usr/etc/package-manager/backend/tpk -iv ";
}
namespace Jobs {
_D("Step: installation for osp service");
std::ostringstream commStr;
- commStr << OSP_INSTALL_STR1<< BashUtils::escape_arg(
- m_context.locations->getPackageInstallationDir())
- << OSP_INSTALL_STR2 << m_context.certLevel;
+ commStr << OSP_INSTALL_STR << BashUtils::escape_arg(
+ m_context.locations->getPackageInstallationDir());
+ //commStr << " 2>&1";
_D("osp install command : %s", commStr.str().c_str());
char readBuf[MAX_BUF_SIZE];