On Tue, Feb 08, 2022 at 08:39:11AM +0100, Renaud Métrich wrote:
> When using 'search' on EFI systems, we sometimes want to exclude devices
> that are not EFI disks (e.g. md, lvm).
> This is typically used when wanting to chainload when having a software
> raid (md) for EFI partition:
> with no option, 'search --file /EFI/redhat/shimx64.efi' sets root envvar
> to 'md/boot_efi' which cannot be used for chainloading since there is no
> effective EFI device behind.
>
> This commit also refactors handling of --no-floppy option.
Please split this patch in two then. One for the --no-floppy change and
another one for --efidisk-only addition.

> Signed-off-by: Renaud Métrich <rmetr...@redhat.com>
> ---
>  grub-core/commands/search.c      | 27 +++++++++++++++++++++++----
>  grub-core/commands/search_wrap.c | 18 ++++++++++++------
>  include/grub/search.h            | 15 ++++++++++++---

Please add --efidisk-only option to the GRUB docs.

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to