Home
last modified time | relevance | path

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

/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.cpp25 std::ifstream versionFile{BMC_VERSION_FILE}; in getOSReleaseValue() local
29 while (std::getline(versionFile, line)) in getOSReleaseValue()
/openbmc/entity-manager/src/entity_manager/
H A Dutils.hpp17 constexpr const char* versionFile = "/etc/os-release"; variable
H A Dutils.cpp22 std::ifstream version(versionFile); in fwVersionIsSame()
25 lg2::error("Can't read {PATH}", "PATH", versionFile); in fwVersionIsSame()
/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()