From: "Leif Lindholm" <leif@nuviainc.com>
To: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: devel@edk2.groups.io, jon@solid-run.com,
Laszlo Ersek <lersek@redhat.com>, Ray Ni <ray.ni@intel.com>,
Zhichao Gao <zhichao.gao@intel.com>
Subject: Re: [PATCH v2 4/5] ArmPkg/PlatformBootManagerLib: hide UEFI Shell as a regular boot option
Date: Mon, 1 Jun 2020 13:36:41 +0100 [thread overview]
Message-ID: <20200601123641.GE28566@vanye> (raw)
In-Reply-To: <8ac36435-18eb-4a22-5871-75b5dd3a4415@arm.com>
On Mon, Jun 01, 2020 at 14:08:18 +0200, Ard Biesheuvel wrote:
> On 6/1/20 2:01 PM, Leif Lindholm wrote:
> > On Thu, May 28, 2020 at 11:17:40 +0200, Ard Biesheuvel wrote:
> > > Without ConnectAll() being called on the boot path, the UEFI shell will
> > > be entered with no block devices or anything else connected, and so for
> > > the novice user, this is not a very accommodating environment. Now that
> > > we have made the UiApp the last resort on boot failure, and made the
> > > UEFI Shell accessible directly via the 's' hotkey if you really need
> > > it, let's hide it as an ordinary boot option.
> >
> > Am I being confused here, or is the word "hide" a bit unfortunate in
> > the above sentence? (It'll still be visible in the UiApp menu, right?)
> >
>
> Ah yes, the wording is slightly off now that the UEFI shell is being kept
> accessible via the boot manager menu rather than via a completely separate
> root menu option and form.
Right. Well, with that addessed - for all of the set (apart from the
MdeModulePkg one, which has an ACK):
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
>
> >
> > > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
> > > ---
> > > ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 4 +---
> > > 1 file changed, 1 insertion(+), 3 deletions(-)
> > >
> > > diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
> > > index 85cb32f6d7cd..1e9b736993d0 100644
> > > --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
> > > +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
> > > @@ -777,9 +777,7 @@ PlatformBootManagerAfterConsole (
> > > //
> > > Key.ScanCode = SCAN_NULL;
> > > Key.UnicodeChar = L's';
> > > - PlatformRegisterFvBootOption (
> > > - &gUefiShellFileGuid, L"UEFI Shell", LOAD_OPTION_ACTIVE, &Key
> > > - );
> > > + PlatformRegisterFvBootOption (&gUefiShellFileGuid, L"UEFI Shell", 0, &Key);
> > > }
> > > /**
> > > --
> > > 2.17.1
> > >
>
next prev parent reply other threads:[~2020-06-01 12:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-28 9:17 [PATCH v2 0/5] ArmPkg/PlatformBootManagerLib: play nice without ConnectAll() Ard Biesheuvel
2020-05-28 9:17 ` [PATCH v2 1/5] ArmPkg/PlatformBootManagerLib: register 's' as UEFI Shell hotkey Ard Biesheuvel
2020-05-28 9:17 ` [PATCH v2 2/5] ArmPkg/PlatformBootManagerLib: fall back to the UiApp on boot failure Ard Biesheuvel
2020-06-01 11:55 ` Leif Lindholm
2020-05-28 9:17 ` [PATCH v2 3/5] MdeModulePkg/BootManagerUiLib: show inactive boot options Ard Biesheuvel
2020-05-28 19:57 ` Laszlo Ersek
2020-06-01 11:56 ` Leif Lindholm
2020-06-02 8:25 ` Ard Biesheuvel
2020-06-02 9:11 ` Gao, Zhichao
2020-06-02 9:26 ` Ard Biesheuvel
2020-06-03 12:26 ` Gao, Zhichao
2020-05-28 9:17 ` [PATCH v2 4/5] ArmPkg/PlatformBootManagerLib: hide UEFI Shell as a regular boot option Ard Biesheuvel
2020-05-28 19:58 ` Laszlo Ersek
2020-06-01 12:01 ` Leif Lindholm
2020-06-01 12:08 ` Ard Biesheuvel
2020-06-01 12:36 ` Leif Lindholm [this message]
2020-05-28 9:17 ` [PATCH v2 5/5] ArmPkg/PlatformBootManagerLib: don't connect all devices on each boot Ard Biesheuvel
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-list 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=20200601123641.GE28566@vanye \
--to=devel@edk2.groups.io \
/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