summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorJae Hoon Kim <kimjae@chromium.org>2020-11-02 18:30:29 -0800
committerCommit Bot <commit-bot@chromium.org>2020-11-10 00:17:27 +0000
commite2cac6148b9e1357596e545900b40acd9509749c (patch)
treed55f650c01477bae990e21fdf50f15a905b19389 /scripts/update_payload/format_utils_unittest.py
parent5611cd3e418bc1e7451d4247daef836077efa9a0 (diff)
update_engine: Support DLC Cohorts
UE at the moment doesn't send the correct cohorts to Omaha for DLCs. In fact, the platform cohorts that are persisted are used for all DLCs. This is incorrect and this CL fixes it. ``` Example DLC Response: ... cohort="1:7:" cohortname="eve_dlc_pita_canary"... localhost ~ # ls /var/lib/update_engine/prefs/dlc/pita/omaha-cohort* /var/lib/update_engine/prefs/dlc/pita/omaha-cohort /var/lib/update_engine/prefs/dlc/pita/omaha-cohort-name localhost ~ # cat /var/lib/update_engine/prefs/dlc/pita/omaha-cohort 1:7: localhost ~ # cat /var/lib/update_engine/prefs/dlc/pita/omaha-cohort-name eve_dlc_pita_canary ``` BUG=b:162463872 TEST=FEATURES=test emerge-$B update_engine TEST=# cros deploy + comment above Change-Id: Ie503f0a63d3b19a51abb88379cb2e8f85919858b Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2515072 Tested-by: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org> Commit-Queue: Jae Hoon Kim <kimjae@chromium.org>
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions