grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] EFI/menu: Do not print messages when autobooting with TI


From: Hans de Goede
Subject: Re: [PATCH 0/2] EFI/menu: Do not print messages when autobooting with TIMEOUT_STYLE_HIDDEN
Date: Fri, 4 Mar 2022 11:36:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

Hi Daniel,

On 1/28/22 11:30, Hans de Goede wrote:
> Hi All,
> 
> This series in essence is a renewed attempt to get grub to really
> be truly hidden when autobooting with TIMEOUT_STYLE_HIDDEN.
> 
> This is something which multiple big Linux distributions want,
> this is a minimized version of my previous attempt from March 2018:
> https://lists.gnu.org/archive/html/grub-devel/2018-03/msg00126.html
> With some discussion about this patch in April 2018:
> https://lists.gnu.org/archive/html/grub-devel/2018-04/msg00009.html
> 
> The first patch silences the notify_booting() callback from
> grub-core/normal/menu.c based on the timeout_style (1), as
> suggested in the original discussion.
> 
> After that there is just one message left, from grub-core/kern/main.c
> which is printed before the config file loads. When timeout_style
> is not set to hidden this will only show very briefly to then be
> replaced by the menu / countdown; and with timeout_style=hidden
> we actually want it to behave the same as any other grub messages
> and have it hidden. The second patch makes this happen by just
> disabling the logging of the message for EFI builds.
> 
> This also fixes the message briefly flashing by (in an ugly manner
> because of the "flash" part) when timeout_style!=hidden.
> 
> Regards,
> 
> Hans
> 
> 
> 1) It is only silenced when autobooting with TIMEOUT_STYLE_HIDDEN

What is the status of this series? It has been well over a month and both
patches have received a Reviewed-by and no other comments:

Reviewed-by: Robbie Harwood <rharwood@redhat.com>

Regards,

Hans






> Hans de Goede (2):
>   normal/menu: Don't show "Booting `%s'" msg when auto-booting with
>     TIMEOUT_STYLE_HIDDEN
>   EFI: suppress the "Welcome to GRUB!" message in EFI builds
> 
>  grub-core/kern/main.c   |  3 +++
>  grub-core/normal/menu.c | 25 +++++++++++++++++--------
>  2 files changed, 20 insertions(+), 8 deletions(-)
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]