mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-23 17:55:01 +00:00
Revert "image_signing: use sparse partition extraction [reland]"
This reverts commit f482470b72.
The original change is the suspected root cause of chromium:606738.
TEST=signing_unittests.py in cros-signing passes (with updated
vboot_stable_hash).
BUG=chromium:606738
BRANCH=None
Change-Id: I21ea027bbda123ee26c6deb4437b07d2fc6e8575
Reviewed-on: https://chromium-review.googlesource.com/340895
Commit-Ready: Amey Deshpande <ameyd@google.com>
Tested-by: Amey Deshpande <ameyd@google.com>
Reviewed-by: Amey Deshpande <ameyd@google.com>
This commit is contained in:
committed by
chrome-bot
parent
8228f47dfd
commit
48b1a50b08
@@ -246,7 +246,7 @@ extract_image_partition() {
|
||||
local offset=$(partoffset "$image" "$partnum")
|
||||
local size=$(partsize "$image" "$partnum")
|
||||
dd if=$image of=$output_file bs=512 skip=$offset count=$size \
|
||||
conv=notrunc,sparse 2>/dev/null
|
||||
conv=notrunc 2>/dev/null
|
||||
}
|
||||
|
||||
# Replace a partition in an image from file
|
||||
|
||||
Reference in New Issue
Block a user