Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nQ5Ie-0008Oy-9S for mharc-grub-devel@gnu.org; Fri, 04 Mar 2022 05:36:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQ5Ic-0008Im-JN for grub-devel@gnu.org; Fri, 04 Mar 2022 05:36:38 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:33513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQ5Ib-0002Lj-01 for grub-devel@gnu.org; Fri, 04 Mar 2022 05:36:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646390196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I3cTi+QGGQ7hksKq1VQZr31n6G315mt6d7ZGFrjnqWw=; b=cy8091P6++u6vNnous7pOQiBQhWlmhUtBJmev6l9Isz3qZyDuDUb0fOrSjPhFChfdQfXXH /lSGh8QBKeZaM6wlML2wbncxyIhsgYR3h6dyODoE1eH2UoWxmjmcgjTTc7ZvYQnxYXByRK ZwVGCR9/4ECy3LpMOVPWs8V8nD/QsUw= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-299-ZnrCa103Oi6b6P-Figd4cQ-1; Fri, 04 Mar 2022 05:36:33 -0500 X-MC-Unique: ZnrCa103Oi6b6P-Figd4cQ-1 Received: by mail-ed1-f70.google.com with SMTP id h17-20020a05640250d100b004133863d836so4404608edb.0 for ; Fri, 04 Mar 2022 02:36:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=I3cTi+QGGQ7hksKq1VQZr31n6G315mt6d7ZGFrjnqWw=; b=7tpoQ+14tlqkW3Y/XI98YopnupiW2F2ZCcd2glytQVXox2kn5zXWxGKEGkI5jDLvMF MUKAWWemyjBd1o48ASt8T+E7F6JIj8D4DcMhHwpPG8rcHTNKcbHc62nib7II/Wa5E2Tb TR97lYZ2e+ZczRlSmuYrMXsc/4hrsO9/YdKmghn7L99oHS/dJ1Bgh9QuP12KF0gyPItF KSH4TduZh2KEH+glap9h38atsCpxvFP6Kr9EgQQRpGBVnnmZKoqYNNCa2o6CuLLRsW2d 0R6caZZOR4/27M4Z0LnwJ3KUBwDk20cUzrZ+8Yc9vZJHi56zs5IN9mEw1j+3ER6PV4Bq 7T6Q== X-Gm-Message-State: AOAM532gf0RoCaSe/w4A4FYrz8GnXINlwJCrR5yhMPRxP/ZcD03eEzXU NBMe6Ubk6sYYnZOHo4WBzSS4egMJZ5kAEQmzJs4KdGwn2eJRbxqigkdFAHaxMdDm0g5pWbQo21W vLye9NKqXYgo= X-Received: by 2002:a17:906:7852:b0:5bb:1bdb:e95f with SMTP id p18-20020a170906785200b005bb1bdbe95fmr31838498ejm.435.1646390191841; Fri, 04 Mar 2022 02:36:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdj9UbpjAJfWxGZwRGXp+/2z4zevDXU2Zwc8VJvA0p8nFHHj03eNiyWbDSmpIYN7slZMOrNA== X-Received: by 2002:a17:906:7852:b0:5bb:1bdb:e95f with SMTP id p18-20020a170906785200b005bb1bdbe95fmr31838483ejm.435.1646390191601; Fri, 04 Mar 2022 02:36:31 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1? (2001-1c00-0c1e-bf00-1db8-22d3-1bc9-8ca1.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1]) by smtp.gmail.com with ESMTPSA id gj18-20020a170907741200b006da82539c83sm1627909ejc.73.2022.03.04.02.36.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Mar 2022 02:36:31 -0800 (PST) Message-ID: <817fe11d-9fce-33a2-d9bd-334039442802@redhat.com> Date: Fri, 4 Mar 2022 11:36:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 0/2] EFI/menu: Do not print messages when autobooting with TIMEOUT_STYLE_HIDDEN To: Daniel Kiper Cc: Robbie Harwood , grub-devel@gnu.org References: <20220128103033.74343-1-hdegoede@redhat.com> From: Hans de Goede In-Reply-To: <20220128103033.74343-1-hdegoede@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hdegoede@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=hdegoede@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2022 10:36:38 -0000 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 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(-) >