Home
last modified time | relevance | path

Searched refs:versionFile (Results 1 – 4 of 4) sorted by relevance

/openbmc/entity-manager/src/
H A Dutils.hpp31 constexpr const char* versionFile = "/etc/os-release"; variable
98 std::ifstream version(versionFile); in fwVersionIsSame()
101 std::cerr << "Can't read " << versionFile << "\n"; in fwVersionIsSame()
/openbmc/openpower-pnor-code-mgmt/static/
H A Ditem_updater_static.cpp79 fs::path versionFile = tmpDir; in getPNORVersion() local
80 versionFile /= "version"; in getPNORVersion()
83 pflash("-P VERSION -r", versionFile.string(), "2>&1 > /dev/null"); in getPNORVersion()
90 std::ifstream f(versionFile.c_str(), std::ios::in | std::ios::binary); in getPNORVersion()
/openbmc/phosphor-logging/
H A Dutil.cpp36 std::ifstream versionFile{BMC_VERSION_FILE}; in getOSReleaseValue() local
40 while (std::getline(versionFile, line)) in getOSReleaseValue()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.hpp185 std::ifstream versionFile{"/proc/uptime"}; in getUptimeInSeconds() local
188 std::getline(versionFile, line); in getUptimeInSeconds()