cros_generate_update_payload: Always copy using 8 MiB buffers.

dd allows to pass an offset and length not alligned with the block size
but still perform the copy using bigger blocks. This patch always uses
8 MiB blocks when extracting the partitions.

TEST=`cros_generate_update_payload --extract` still works and runs
faster when partitions are not 2 MiB alligned.

Change-Id: I087378b487b0c57ab355d6d08cadcc14f2b5da48
Trybot-Ready: Alex Deymo <>
Tested-by: Alex Deymo <>
Reviewed-by: Gabe Black <>
Commit-Queue: Alex Deymo <>
1 file changed