grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] document GRUB_DISABLE_SUBMENU
Date: Mon, 4 Nov 2013 18:27:41 +0400	[thread overview]
Message-ID: <20131104182741.28ac7cc4@opensuse.site> (raw)
In-Reply-To: <52779DFC.80107@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]

В Mon, 04 Nov 2013 14:15:40 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> пишет:
> Could you add that toggling this requires changing default/GRUB_DEFAULT
> and saved default?
> 
> 

Like this?

From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: [PATCH] document GRUB_DISABLE_SUBMENU

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>

---
 docs/grub.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/grub.texi b/docs/grub.texi
index fced603..bb9d50a 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -1450,6 +1450,15 @@ Normally, @command{grub-mkconfig} will try to use the external
 systems installed on the same system and generate appropriate menu entries
 for them.  Set this option to @samp{true} to disable this.
 
+@item GRUB_DISABLE_SUBMENU
+Normally, @command{grub-mkconfig} will generate top level menu entry for
+the kernel with highest version number and put all other found kernels
+or alternative menu entries for recovery mode in submenu. For entries returned
+by @command{os-prober} first entry will be put on top level and all others
+in submenu. If this option is set to @samp{y}, flat menu with all entries
+on top level will be generated instead. Changing this option may require
+changing value of default boot entry.
+
 @item GRUB_ENABLE_CRYPTODISK
 If set to @samp{y}, @command{grub-mkconfig} and @command{grub-install} will
 check for encrypted disks and generate additional commands needed to access
-- 
tg: (46522fb..) u/grub_disable_submenu (depends on: master)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-11-04 14:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 19:23 [PATCH]: Add GRUB_DISABLE_SUBMENU option Prarit Bhargava
2013-01-29 20:09 ` Andrey Borzenkov
2013-01-29 23:33   ` Prarit Bhargava
2013-01-30  5:00     ` Andrey Borzenkov
2013-01-30 13:39       ` Prarit Bhargava
2013-11-03 23:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-04 12:43   ` [PATCH] document GRUB_DISABLE_SUBMENU Andrey Borzenkov
2013-11-04 13:15     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-04 14:27       ` Andrey Borzenkov [this message]
2013-11-04 16:09         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-10 13:20           ` Andrey Borzenkov
2013-11-10 13:35             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-10 13:59               ` Barry Jackson
2013-11-10 14:38                 ` Andrey Borzenkov
2013-11-10 14:48                   ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131104182741.28ac7cc4@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).