mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 23:16:58 +02:00
ARM: enable kernel signing by default
This commit is a part of transition to enable ARM kernel signing. It is at first an option that is enabled manually, and then (in this commit) enabled by default. After more tests, the scripts that generate unsigned ARM kernel partition will probably be removed. BUG=chromium-os:12352 TEST=./build_image && load_kernel_test -b 2 /path/to/chromiumos_image.bin /usr/share/vboot/devkeys/recovery_key.vbpubk Change-Id: I6d48d1603cd7c96514892bcbbf8994b2d4cc2a08 Reviewed-on: http://gerrit.chromium.org/gerrit/512 Tested-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
This commit is contained in:
parent
7145352a0b
commit
9c5d88573f
@ -116,7 +116,7 @@ DEFINE_boolean use_dev_keys ${FLAGS_FALSE} \
|
||||
"Use developer keys for signing. (Default: false)"
|
||||
|
||||
# TODO(clchiou): Remove this flag after arm verified boot is stable
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_FALSE} \
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_TRUE} \
|
||||
"Sign kernel partition for ARM images (temporary hack)."
|
||||
|
||||
# TODO(sosa): Remove once known images no longer use this in their config.
|
||||
|
@ -91,7 +91,7 @@ DEFINE_string usb_disk /dev/sdb3 \
|
||||
"Path syslinux should use to do a usb boot. Default: /dev/sdb3"
|
||||
|
||||
# TODO(clchiou): Remove this flag after arm verified boot is stable
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_FALSE} \
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_TRUE} \
|
||||
"Sign kernel partition for ARM images (temporary hack)."
|
||||
|
||||
DEFINE_boolean enable_rootfs_verification ${FLAGS_TRUE} \
|
||||
|
@ -70,7 +70,7 @@ DEFINE_string verity_hash_alg "sha1" \
|
||||
"Cryptographic hash algorithm used for dm-verity. (Default: sha1)"
|
||||
|
||||
# TODO(clchiou): Remove this flag after arm verified boot is stable
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_FALSE} \
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_TRUE} \
|
||||
"Sign kernel partition for ARM images (temporary hack)."
|
||||
|
||||
# Parse flags
|
||||
|
@ -82,7 +82,7 @@ DEFINE_string keys_dir "/usr/share/vboot/devkeys" \
|
||||
"Directory containing the signing keys."
|
||||
|
||||
# TODO(clchiou): Remove this flag after arm verified boot is stable
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_FALSE} \
|
||||
DEFINE_boolean crosbug12352_arm_kernel_signing ${FLAGS_TRUE} \
|
||||
"Sign kernel partition for ARM images (temporary hack)."
|
||||
|
||||
# Parse command line
|
||||
|
Loading…
Reference in New Issue
Block a user