Lines Matching refs:lsb_release
91 brillo::KeyValueStore lsb_release; in LoadImageProperties() local
92 LoadLsbRelease(LsbReleaseSource::kSystem, &lsb_release); in LoadImageProperties()
94 lsb_release, kLsbReleaseUpdateChannelKey, "stable-channel"); in LoadImageProperties()
101 LoadLsbRelease(LsbReleaseSource::kStateful, &lsb_release); in LoadImageProperties()
107 GetStringWithDefault(lsb_release, kLsbReleaseAppIdKey, kDefaultAppId); in LoadImageProperties()
110 lsb_release, kLsbReleaseBoardAppIdKey, release_app_id); in LoadImageProperties()
112 lsb_release, kLsbReleaseCanaryAppIdKey, release_app_id); in LoadImageProperties()
113 result.board = GetStringWithDefault(lsb_release, kLsbReleaseBoardKey, ""); in LoadImageProperties()
114 result.version = GetStringWithDefault(lsb_release, kLsbReleaseVersionKey, ""); in LoadImageProperties()
116 GetStringWithDefault(lsb_release, kLsbReleaseAutoUpdateServerKey, in LoadImageProperties()
124 brillo::KeyValueStore lsb_release; in LoadMutableImageProperties() local
125 LoadLsbRelease(LsbReleaseSource::kSystem, &lsb_release); in LoadMutableImageProperties()
126 LoadLsbRelease(LsbReleaseSource::kStateful, &lsb_release); in LoadMutableImageProperties()
128 lsb_release, kLsbReleaseUpdateChannelKey, "stable-channel"); in LoadMutableImageProperties()
129 if (!lsb_release.GetBoolean(kLsbReleaseIsPowerwashAllowedKey, in LoadMutableImageProperties()
137 brillo::KeyValueStore lsb_release; in StoreMutableImageProperties() local
138 LoadLsbRelease(LsbReleaseSource::kStateful, &lsb_release); in StoreMutableImageProperties()
139 lsb_release.SetString(kLsbReleaseUpdateChannelKey, properties.target_channel); in StoreMutableImageProperties()
140 lsb_release.SetBoolean(kLsbReleaseIsPowerwashAllowedKey, in StoreMutableImageProperties()
147 return lsb_release.Save(path); in StoreMutableImageProperties()