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

Unified Diff: scripts/image_signing/sign_official_build.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/make_dev_ssd.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/image_signing/sign_official_build.sh
diff --git a/scripts/image_signing/sign_official_build.sh b/scripts/image_signing/sign_official_build.sh
index dd6d6bf1a7838214b078a8127faa50ef60d76638..e936f7ba9d8027766f25d1511d1dc8f4965e15c1 100755
--- a/scripts/image_signing/sign_official_build.sh
+++ b/scripts/image_signing/sign_official_build.sh
@@ -138,6 +138,9 @@ update_rootfs_hash() {
local kernel_config=$(grab_kernel_config "${image}")
local hash_image=$(make_temp_file)
+ # Disable rw mount support prior to hashing.
+ disable_rw_mount "${rootfs_image}"
+
local new_kernel_config=$(calculate_rootfs_hash "${rootfs_image}" \
"${kernel_config}" "${hash_image}")
« no previous file with comments | « scripts/image_signing/make_dev_ssd.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698