summaryrefslogtreecommitdiff
path: root/scripts/update_device.py
diff options
context:
space:
mode:
authorMiriam Polzer <mpolzer@google.com>2020-04-23 16:25:58 +0200
committerCommit Bot <commit-bot@chromium.org>2020-05-26 15:01:28 +0000
commitad6719817e6dd198edc6922e74672e2262487b57 (patch)
treedde1c2639a7d00f8c8f490327890995a7a7f39cd /scripts/update_device.py
parent3f894a81f130a9ba37e4bc710f5214b65981c6d2 (diff)
update_engine: Powerwash based on version
Powerwash after an update is currently enforced based on the channel: If the new channel is more stable, powerwash happens. This may cause unnecessary powerwash if the currently installed Chrome OS version is old enough so that a normal update (e.g. 12817.68.0 -> 12817.76.0) can take place. Additionally decide whether a powerwash should take place based on the new and old version number. Only powerwash if the new version number is older than old version number. BUG=chromium:1070563 TEST=FEATURES=test emerge-amd64-generic update_engine channel change and update on test device Change-Id: Ib211cf87711bde9f9c912395548124dcbb1194bb Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2162986 Tested-by: Miriam Polzer <mpolzer@google.com> Commit-Queue: Miriam Polzer <mpolzer@google.com> Reviewed-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Jae Hoon Kim <kimjae@chromium.org>
Diffstat (limited to 'scripts/update_device.py')
0 files changed, 0 insertions, 0 deletions