mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-03 04:42:47 +02:00
Gummiboot is dead, it was absorbed by systemd a long time ago, and several users reported that doesn't work since Alpine v3.21 (see #16691). I guess it's time to say goodbye. :( That said, it works on my machine after rebuilding, so let's keep it in testing for now, in case anyone needs it. We have two alternatives: systemd-efistub and stubbyboot-efistub.
15 lines
664 B
Diff
15 lines
664 B
Diff
Patch-Source: https://github.com/void-linux/void-packages/blob/master/srcpkgs/gummiboot/patches/stub.patch
|
|
--
|
|
--- a/src/efi/stub.c 2015-03-12 00:50:35.000000000 +0100
|
|
+++ b/src/efi/stub.c 2020-07-06 12:32:55.985327487 +0200
|
|
@@ -83,7 +83,7 @@
|
|
cmdline_len = szs[0];
|
|
|
|
/* if we are not in secure boot mode, accept a custom command line and replace the built-in one */
|
|
- if (!secure && loaded_image->LoadOptionsSize > 0) {
|
|
+ if ((!secure || cmdline_len == 0) && loaded_image->LoadOptionsSize > 0 && *(CHAR16 *)loaded_image->LoadOptions > 0x1F) {
|
|
CHAR16 *options;
|
|
CHAR8 *line;
|
|
UINTN i;
|
|
|