Lines Matching refs:lsb_release
92 brillo::KeyValueStore lsb_release; in LoadImageProperties() local
93 LoadLsbRelease(LsbReleaseSource::kSystem, &lsb_release); in LoadImageProperties()
95 lsb_release, kLsbReleaseUpdateChannelKey, "stable-channel"); in LoadImageProperties()
102 LoadLsbRelease(LsbReleaseSource::kStateful, &lsb_release); in LoadImageProperties()
108 GetStringWithDefault(lsb_release, kLsbReleaseAppIdKey, kDefaultAppId); in LoadImageProperties()
111 lsb_release, kLsbReleaseBoardAppIdKey, release_app_id); in LoadImageProperties()
113 lsb_release, kLsbReleaseCanaryAppIdKey, release_app_id); in LoadImageProperties()
114 result.board = GetStringWithDefault(lsb_release, kLsbReleaseBoardKey, ""); in LoadImageProperties()
115 result.version = GetStringWithDefault(lsb_release, kLsbReleaseVersionKey, ""); in LoadImageProperties()
117 GetStringWithDefault(lsb_release, in LoadImageProperties()
129 brillo::KeyValueStore lsb_release; in LoadMutableImageProperties() local
130 LoadLsbRelease(LsbReleaseSource::kSystem, &lsb_release); in LoadMutableImageProperties()
131 LoadLsbRelease(LsbReleaseSource::kStateful, &lsb_release); in LoadMutableImageProperties()
133 lsb_release, kLsbReleaseUpdateChannelKey, "stable-channel"); in LoadMutableImageProperties()
134 if (!lsb_release.GetBoolean(kLsbReleaseIsPowerwashAllowedKey, in LoadMutableImageProperties()
141 brillo::KeyValueStore lsb_release; in StoreMutableImageProperties() local
142 LoadLsbRelease(LsbReleaseSource::kStateful, &lsb_release); in StoreMutableImageProperties()
143 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
144 lsb_release.SetBoolean(kLsbReleaseIsPowerwashAllowedKey, in StoreMutableImageProperties()
151 return lsb_release.Save(path); in StoreMutableImageProperties()
155 std::string lsb_release; in LogImageProperties() local
156 if (utils::ReadFile(kLsbRelease, &lsb_release)) { in LogImageProperties()
157 LOG(INFO) << "lsb-release inside the old rootfs:\n" << lsb_release; in LogImageProperties()