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

Unified Diff: scripts/image_signing/make_dev_ssd.sh

Issue 3987001: common.sh, ...: add support for ext2-ro/rw hack (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git
Patch Set: fold the rw work in; add ext2 sb magic check 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 | « scripts/image_signing/common.sh ('k') | scripts/image_signing/sign_official_build.sh » ('j') | 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 a5a961d69b786c55530f7ac53206e643f4668682..458a37f0e4130dd2c09016ef1743e46f30479e37 100755
--- a/scripts/image_signing/make_dev_ssd.sh
+++ b/scripts/image_signing/make_dev_ssd.sh
@@ -222,6 +222,12 @@ main() {
"$FLAGS_image" ||
exit 1
+ # 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"
+ fi
+
resign_ssd_kernel "$FLAGS_image" || num_signed=$?
debug_msg "Complete."
« no previous file with comments | « scripts/image_signing/common.sh ('k') | scripts/image_signing/sign_official_build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698