[PATCH v1 1/2] efi: add grub_variable_with_attributes

2023-01-16 Thread Oliver Steffen
Add a function to the EFI module that allows setting EFI variables with specific attributes. This is useful for marking variables as volatile, for example. Signed-off-by: Oliver Steffen --- grub-core/kern/efi/efi.c | 19 +-- include/grub/efi/efi.h | 6 ++ 2 files changed,

[PATCH v1 0/2] Add basic Boot Loader Interface support

2023-01-16 Thread Oliver Steffen
This is a step towards supporting unified kernel images (UKI) in Grub. Add a new module named boot_loader_interface, which provides a command with the same name. It implements a small but quite useful part of the Boot Loader Interface [0]. This interface uses EFI variables for communication betwe

[PATCH v1 2/2] Add a module for the Boot Loader Interface

2023-01-16 Thread Oliver Steffen
Add a new module named boot_loader_interface, which provides a command with the same name. It implements a small but quite useful part of the Boot Loader Interface [0]. This interface uses EFI variables for communication between the boot loader and the operating system. This module sets two EFI v

Re: [PATCH 0/4] LUKS1/2 testing in fs-tester and LUKS2 support in grub-probe

2023-01-16 Thread Glenn Washburn
On Fri, 13 Jan 2023 09:31:43 +0100 Patrick Steinhardt wrote: > On Thu, Jan 12, 2023 at 05:05:06PM -0600, Glenn Washburn wrote: > > This series adds the testing of LUKS 1 and 2 encrypted container to > > the user-space fs tester. While this does replicate some of the > > testing done by grub_cmd_c

[PATCH v2] loader/i386/linux.c Correct wrong initrd address for debug

2023-01-16 Thread Jeremy Szu
The 'addr' is used to request the memory with specific ranges but the real loadable address come from the relocator. Thus, print the final retrieved addresses (virtual and physical) for initrd. v2: append SOB Signed-off-by: Jeremy Szu --- grub-core/loader/i386/linux.c | 4 ++-- 1 file changed,