summaryrefslogtreecommitdiff
path: root/payload_generator/deflate_utils_unittest.cc
AgeCommit message (Collapse)Author
2019-01-16update_engine: Run clang-format on payload_generator/Amin Hassani
BUG=none TEST=unittest Change-Id: I00cafb1fc709d8f02119cb0058cfcb0b573ef25d Reviewed-on: https://chromium-review.googlesource.com/1409927 Commit-Ready: Amin Hassani <ahassani@chromium.org> Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Sen Jiang <senj@chromium.org>
2017-11-06update_engine: Generate PUFFDIFF operationAmin Hassani
This patch adds functionality for generating PUFFDIFF operation, but since the minor verion has not been increase, it actually does not generate the operation itself. PUFFDIFF is used for patching deflate based files. BUG=chromium:767120 TEST=unittest passes; brillo_update_payload {generate|verify} passes; CQ-DEPEND=CL:726945 Change-Id: I4ffdac8dce3740ef9fc2156cb0dad83a8364c8b5 Reviewed-on: https://chromium-review.googlesource.com/658298 Commit-Ready: Amin Hassani <ahassani@chromium.org> Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>
2017-10-16update_engine: Add Squashfs (phase 2)Amin Hassani
This patch replaces the Android container related Squashfs images with their files in the update engine. The location of each new file is defined as: 'Squashfs image file path' + / + 'the file path inside the Squashfs' This works even if the files inside the Squashfs are not 4k aligned. But we need 4k alignment before we add Puffin support. In some experiments this could even reduce the delta payload size by like 1MB. BUG=chromium:767120 TEST=cros_workon_make --board=amd64-generic --test update_engine; brillo_update_payload generate --payload=payload.delta --source_image=veyron_minnie-R61-9765.13.0.bin --target_image=veyron-minnie-R62-9804.0.0.bin Change-Id: I3fbcc5cd0d724435955ed1bd1204dee0e41944be Reviewed-on: https://chromium-review.googlesource.com/636106 Commit-Ready: Amin Hassani <ahassani@chromium.org> Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org>