Hi GRUB Developers,
This patch series contains two fixes to improve how GRUB handles
environment files and constructs the kernel command line, these issues
were reported by PhotonOS customers.
The first patch ensures that empty lines in environment files are
skipped during parsing.
The second pa
From: Shreenidhi Shedi
Previously, the command line construction function
(grub_create_loader_cmdline) escaped single and double quotes, which is
unnecessary and potentially problematic since the kernel command line
handler does not support escaped quotes. This patch removes the escaping
of these
From: Shreenidhi Shedi
Environment files may contain empty lines, which should be
ignored during parsing. Currently, these lines are not skipped and
resulting in incorrect behavior. This patch adds a check to skip empty
lines along with those starting with `#'.
Signed-off-by: Shreenidhi Shedi
R
From: khaalid
As the the current spec UEFI 2.11 add remaining status codes. The first
patch set of this series accounts for.
Signed-off-by: Khalid Ali
---
include/grub/efi/api.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
index b686
From: khaalid
This RFC patch introduces a UEFI error message printer that translates
UEFI status codes from hexadecimal values into human-readable strings.
The idea is inspired by the GNU C Library's "perror()" function, which
translates
"errno" values into descriptive error messages. Similar
From: khaalid
The function prototype.
Signed-off-by: khaalid
---
include/grub/efi/efi.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/grub/efi/efi.h b/include/grub/efi/efi.h
index a5cd99e5a..3c38e2834 100644
--- a/include/grub/efi/efi.h
+++ b/include/grub/efi/efi.h
@@ -115,6 +