summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@chromium.org>2019-03-18 14:20:46 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-03-28 11:16:52 -0700
commit73733a0bd4162229c194dbd365b9d4c4e768ec2c (patch)
tree553152099b2590b263619a16773c7d076f35eee6 /scripts/update_payload/format_utils.py
parent6cf8e675a37c3b61cea0d313f8006068a1b3190a (diff)
update_engine: Add support for DLC packages.
The update_engine can handle downloading multipe apckages per an App ID. Currently each DLC is tied to an AppID and currently we have only one image per DLC. This basically restricts our ability to support multiple images per DLC in the future and if not fixed now, it would be near impossible to add it in the future. Currently, in order to find the location of a DLC module, the location (dlc-id) is inferred from the paritition name structured like dlc_<dlc-id>. In order to handled multiple packages for each DLC, we can add another argument dlc-package in the partition name which allows us to identify different packages. The new format for the partition name is as follows: dlc/<dlc-id>/<dlc-package> BUG=chromium:908994 TEST=unittest CQ-DEPEND=CL:1532852, CL:1532770, CL:1532851, CL:1531833, CL:1531834 Change-Id: Ie9d03e23b5a44a963ab9a088e66f3d6bbbb9d664 Reviewed-on: https://chromium-review.googlesource.com/1532771 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Xiaochu Liu <xiaochu@chromium.org>
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions