summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/image_signing/make_dev_ssd.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/image_signing/make_dev_ssd.sh b/scripts/image_signing/make_dev_ssd.sh
index 5dc88857..8f360715 100755
--- a/scripts/image_signing/make_dev_ssd.sh
+++ b/scripts/image_signing/make_dev_ssd.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
@@ -68,11 +68,6 @@ remove_rootfs_verification() {
s| ro | rw |'
}
-# Checks if rootfs verification is enabled from kernel boot parameter
-is_rootfs_verification_enabled() {
- echo "$*" | grep -q 'root=/dev/dm-0'
-}
-
remove_legacy_boot_rootfs_verification() {
# See src/scripts/create_legacy_bootloader_templates
local image="$1"
@@ -198,8 +193,6 @@ resign_ssd_kernel() {
if [ ${FLAGS_remove_rootfs_verification} = $FLAGS_FALSE ]; then
debug_msg "Bypassing rootfs verification check"
- elif ! is_rootfs_verification_enabled "$kernel_config"; then
- echo "INFO: $name: rootfs verification was not enabled."
else
debug_msg "Changing boot parameter to remove rootfs verification"
kernel_config="$(remove_rootfs_verification "$kernel_config")"