summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAmey Deshpande <ameyd@google.com>2016-04-27 00:30:54 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-27 18:12:33 -0700
commit48b1a50b086e39332d2e1e51a73434e39c40b329 (patch)
tree22850de9caae58b66301019a5e42c888269a552e /scripts
parent8228f47dfd24448a4c959c93d064a0887c4762d1 (diff)
downloadvboot-48b1a50b086e39332d2e1e51a73434e39c40b329.tar.gz
Revert "image_signing: use sparse partition extraction [reland]"
This reverts commit f482470b72086d5ba672513434f3da5d62599538. 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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/image_signing/common_minimal.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image_signing/common_minimal.sh b/scripts/image_signing/common_minimal.sh
index ad84c501..fa566761 100644
--- a/scripts/image_signing/common_minimal.sh
+++ b/scripts/image_signing/common_minimal.sh
@@ -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