DescriptionAdd a device policy for specifying the release channel.
This is a first step towards a full solution. For now, if the release channel
is specified in a policy, it has the same effect as if the user changed the
combo box on the About page. Still to-do: store policy value into a LocalState
pref, UI changes, and make the setting secure (it's currently stored in
/etc/lsb-release).
BUG=chromium-os:15382
TEST=Run a local device_management test server and specify the release
channel in the device policy. Edit /etc/init/update-engine.conf to start
update_engine with the --v=0 option and restart update-engine. Enroll the
device and verify in /var/log/update-engine.conf that the track change was
noticed by the update engine.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91280
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fix indent issue. #
Total comments: 10
Patch Set 3 : Address reviewer comments #
Total comments: 1
Patch Set 4 : Rebased #Patch Set 5 : Change inconsistent wording in policy template. #
Messages
Total messages: 13 (0 generated)
|