diff options
author | Alex Deymo <deymo@chromium.org> | 2015-06-30 19:00:51 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-01 08:01:51 +0000 |
commit | 6c396a9b3020df9b0b58886fd6f36523bec29d3a (patch) | |
tree | 657541a2fdd7284738fdc1c76d04a206d4d6a992 /payload_generator/payload_file_unittest.cc | |
parent | 8e66534e4c76de1b2882ef637cdb8f3c361cb48f (diff) |
update_engine: Fix full payload generation when using chunk_size.
We already check that the partition size and the chunk_size are multiples
of the block_size, but we assume that the partition size is a multiple of the
chunk_size and that was mostly always the case. This patch fixes that by
setting the right operation size for the last rootfs and kernel operation.
BUG=chromium:485397
TEST=Added unit test to check this case.
Change-Id: Ia025d299c07bbe0732cf8554b75f4d40b6e063f9
Reviewed-on: https://chromium-review.googlesource.com/282758
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Trybot-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Diffstat (limited to 'payload_generator/payload_file_unittest.cc')
0 files changed, 0 insertions, 0 deletions