[PATCH] Disable grub2-mkconfig's submenus by default.
Samantha N. Bueno
sbueno+anaconda at redhat.com
Thu Mar 14 13:47:42 UTC 2013
Ack.
On Thu, Mar 14, 2013 at 09:09:23AM -0400, Peter Jones wrote:
> They are hideous and confusing and serve no useful purpose. Make them
> go away.
>
> Signed-off-by: Peter Jones <pjones at redhat.com>
> ---
> pyanaconda/bootloader.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index a8ad105..bf2a921 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -1439,6 +1439,7 @@ class GRUB2(GRUB):
> defaults.write("GRUB_TIMEOUT=%d\n" % self.timeout)
> defaults.write("GRUB_DISTRIBUTOR=\"$(sed 's, release .*$,,g' /etc/system-release)\"\n")
> defaults.write("GRUB_DEFAULT=saved\n")
> + defaults.write("GRUB_DISABLE_SUBMENU=true\n")
> if self.console and self.console.startswith("ttyS"):
> defaults.write("GRUB_TERMINAL=\"serial console\"\n")
> defaults.write("GRUB_SERIAL_COMMAND=\"%s\"\n" % self.serial_command)
> --
> 1.8.1.4
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list