From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VfW3w-00062y-9d for mharc-grub-devel@gnu.org; Sun, 10 Nov 2013 09:32:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfW3p-00062f-91 for grub-devel@gnu.org; Sun, 10 Nov 2013 09:32:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfW3j-0001yp-E5 for grub-devel@gnu.org; Sun, 10 Nov 2013 09:32:21 -0500 Received: from smtpout12.bt.lon5.cpcloud.co.uk ([65.20.0.132]:10953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfW3j-0001yj-6A for grub-devel@gnu.org; Sun, 10 Nov 2013 09:32:15 -0500 Received: from [192.168.1.65] (109.149.3.4) by smtpout12.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as ashton.models@btinternet.com) id 5278451B003AFDE8 for grub-devel@gnu.org; Sun, 10 Nov 2013 13:59:45 +0000 Message-ID: <527F9151.6000906@zen.co.uk> Date: Sun, 10 Nov 2013 13:59:45 +0000 From: Barry Jackson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] document GRUB_DISABLE_SUBMENU References: <5276D8EA.6050305@gmail.com> <1383568994-3969-1-git-send-email-arvidjaar@gmail.com> <52779DFC.80107@gmail.com> <20131104182741.28ac7cc4@opensuse.site> <5277C6AB.5090808@gmail.com> <20131110172010.086e28cf@opensuse.site> <527F8BBC.4050203@gmail.com> In-Reply-To: <527F8BBC.4050203@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: Quoted-Printable X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Received-From: 65.20.0.132 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 14:32:27 -0000 On 10/11/13 13:35, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > On 10.11.2013 14:20, Andrey Borzenkov wrote: >> =D0=92 Mon, 04 Nov 2013 17:09:15 +0100 >> Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: >> >>> On 04.11.2013 15:27, Andrey Borzenkov wrote: >>>> =D0=92 Mon, 04 Nov 2013 14:15:40 +0100 >>>> Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: >>>>> Could you add that toggling this requires changing default/GRUB_DEF= AULT >>>>> and saved default? >>>>> >>>>> >>>> >>>> Like this? >>>> >>> I think it should be "will" not "may". And also explicit mention of >>> default, fallback, GRUB_DEFAULT and grub-reboot/grub-set-default with >>> links would be helpful >> >> >> Default won't need to be changed if it already refers to top-level men= u >> entry by ID or title (which does not change). Below is the best I coul= d >> come up with without making it exceedingly large. >> > Thank you. Go ahead. >> From: Andrey Borzenkov >> To: grub-devel@gnu.org >> Subject: [PATCH] document GRUB_DISABLE_SUBMENU >> >> Signed-off-by: Andrey Borzenkov >> >> --- >> docs/grub.texi | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/docs/grub.texi b/docs/grub.texi >> index ead8fbd..58e04e2 100644 >> --- a/docs/grub.texi >> +++ b/docs/grub.texi >> @@ -1450,6 +1450,18 @@ Normally, @command{grub-mkconfig} will try to u= se the external >> systems installed on the same system and generate appropriate menu e= ntries >> 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 kernel= s >> +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 o= thers >> +in submenu. If this option is set to @samp{y}, flat menu with all ent= ries >> +on top level will be generated instead. Changing this option will req= uire >> +changing existing values of @samp{GRUB_DEFAULT}, @samp{fallback} (@px= ref{fallback}) >> +and @samp{default} (@pxref{default}) environment variables as well as= saved >> +default entry using @command{grub-set-default} and value used with >> +@command{grub-reboot}. >> + >> @item GRUB_ENABLE_CRYPTODISK >> If set to @samp{y}, @command{grub-mkconfig} and @command{grub-instal= l} will >> check for encrypted disks and generate additional commands needed to= access >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >> > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > Is it not inconsistent to use y/n for GRUB_DISABLE_SUBMENU when all=20 other variables accept true/false ?