mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
create_legacy_bootloader_templates.sh: ensure grub escapes quotes
Evidently no one has tested the grub.cfg since verified boot landed. Grub eats double quotes which breaks verified boot. This changes adds the escapes. No other code changes should be needed in build and install code since they replace DMTABLEA and DMTABLEB and not the quotes. TEST=nsanders escaped the quotes in his build :); I am doing a new build to ensure the output is escaped now. BUG=chrome-os-partner:1603 Change-Id: I55e823347c91493caf3b5b2e4577a4e4616df7f0 Review URL: http://codereview.chromium.org/4529002
This commit is contained in:
parent
5494da3107
commit
59752f1667
@ -191,11 +191,11 @@ menuentry "local image B" {
|
||||
}
|
||||
|
||||
menuentry "verified image A" {
|
||||
linux \$grubpartA/boot/vmlinuz ${common_args} ${verity_common} i915.modeset=1 cros_efi root=/dev/dm-0 dm="DMTABLEA"
|
||||
linux \$grubpartA/boot/vmlinuz ${common_args} ${verity_common} i915.modeset=1 cros_efi root=/dev/dm-0 dm=\\"DMTABLEA\\"
|
||||
}
|
||||
|
||||
menuentry "verified image B" {
|
||||
linux \$grubpartB/boot/vmlinuz ${common_args} ${verity_common} i915.modeset=1 cros_efi root=/dev/dm-0 dm="DMTABLEB"
|
||||
linux \$grubpartB/boot/vmlinuz ${common_args} ${verity_common} i915.modeset=1 cros_efi root=/dev/dm-0 dm=\\"DMTABLEB\\"
|
||||
}
|
||||
|
||||
# FIXME: usb doesn't support verified boot for now
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user