mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-04-21 08:41:01 +00:00
Standardize whitespace in GRUB menu entry stanzas
Use consistent formatting across all architectures: 4-space indent, two spaces after "linux", one space after "initrd". Also fix an extra blank line before "fi" in amd64's UEFI section caused by f-string interpolation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a6466ab0a3
commit
a2a166d93d
@ -161,7 +161,7 @@ menuentry "{self.humanproject} with the HWE kernel" {{
|
||||
result += f"""\
|
||||
grub_platform
|
||||
if [ "$grub_platform" = "efi" ]; then
|
||||
{uefi_menu_entries}
|
||||
{uefi_menu_entries}\
|
||||
fi
|
||||
"""
|
||||
|
||||
|
||||
@ -54,9 +54,9 @@ if [ $? = 0 ]; then
|
||||
fi
|
||||
|
||||
menuentry "Try or Install {self.humanproject}" {{
|
||||
\tset gfxpayload=keep
|
||||
\tlinux\t/casper/vmlinuz $cmdline {kernel_params} console=tty0
|
||||
\tinitrd\t/casper/initrd
|
||||
set gfxpayload=keep
|
||||
linux /casper/vmlinuz $cmdline {kernel_params} console=tty0
|
||||
initrd /casper/initrd
|
||||
}}
|
||||
"""
|
||||
|
||||
|
||||
@ -126,10 +126,10 @@ class UEFIBootConfigurator(GrubBootConfigurator):
|
||||
"""Return UEFI firmware menu entries."""
|
||||
return """\
|
||||
menuentry 'Boot from next volume' {
|
||||
\texit 1
|
||||
exit 1
|
||||
}
|
||||
menuentry 'UEFI Firmware Settings' {
|
||||
\tfwsetup
|
||||
fwsetup
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user