Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(954)

Unified Diff: scripts/image_signing/make_dev_ssd.sh

Issue 4071002: make_dev_ssd: fix the offset for enable_rw_mount (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/image_signing/make_dev_ssd.sh
diff --git a/scripts/image_signing/make_dev_ssd.sh b/scripts/image_signing/make_dev_ssd.sh
index 458a37f0e4130dd2c09016ef1743e46f30479e37..7139c0d5aed445d73b2ca9294b81ab642026966f 100755
--- a/scripts/image_signing/make_dev_ssd.sh
+++ b/scripts/image_signing/make_dev_ssd.sh
@@ -225,7 +225,7 @@ main() {
# Make the root filesystem remountable if needed.
if [ ${FLAGS_remove_rootfs_verification} = $FLAGS_TRUE ]; then
local root_offset=$(partoffset "$FLAGS_image" 3)
- enable_rw_mount "$FLAGS_image" "$root_offset"
+ enable_rw_mount "$FLAGS_image" "$((root_offset * 512))"
fi
resign_ssd_kernel "$FLAGS_image" || num_signed=$?
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698