summaryrefslogtreecommitdiff
path: root/scripts/update_payload/test_utils.py
diff options
context:
space:
mode:
authorMiriam Polzer <mpolzer@google.com>2020-09-17 14:06:46 +0200
committerCommit Bot <commit-bot@chromium.org>2020-09-29 18:58:49 +0000
commit8db52491584d597c2c13710d8ab0c308d49ac365 (patch)
treeac0d3df7806990eb824ef73e0792b9c6dbd09963 /scripts/update_payload/test_utils.py
parent582d8fec6c5fbb8b65c1f37579f5f71b88694a7e (diff)
update_engine: Fall back to DeviceMinimumVersion
If the kiosk's required Chrome OS version can not be read several times and DeviceMinimumVersionis set, update only if the current version is below the DeviceMinimumVersion. This a very conservative approach at preventing kiosks from updating randomly: - It only affects kiosk devices. - It only affects devices that have DeviceMinimumVersion set, others will still simply update once the kiosk version could not be fetched several times. BUG=chromium:1084453 TEST=FEATURES=test emerge-amd64-generic update_engine TEST=Set policies on DUT and check behavior Change-Id: I82caf4bf4969959e461a218a916f057ea73946ad Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2416628 Tested-by: Miriam Polzer <mpolzer@google.com> Commit-Queue: Miriam Polzer <mpolzer@google.com> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/test_utils.py')
0 files changed, 0 insertions, 0 deletions