Searched refs:versionFile (Results 1 – 4 of 4) sorted by relevance
31 constexpr const char* versionFile = "/etc/os-release"; variable98 std::ifstream version(versionFile); in fwVersionIsSame()101 std::cerr << "Can't read " << versionFile << "\n"; in fwVersionIsSame()
79 fs::path versionFile = tmpDir; in getPNORVersion() local80 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()
36 std::ifstream versionFile{BMC_VERSION_FILE}; in getOSReleaseValue() local40 while (std::getline(versionFile, line)) in getOSReleaseValue()
185 std::ifstream versionFile{"/proc/uptime"}; in getUptimeInSeconds() local188 std::getline(versionFile, line); in getUptimeInSeconds()