aports/testing/gummiboot/sysmacros.patch
Jakub Jirutka 570a11d28b testing/gummiboot: move from main
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.
2025-05-23 22:04:51 +00:00

13 lines
287 B
Diff

diff --git a/src/setup/setup.c b/src/setup/setup.c
index 6a4275a..1e93e8c 100644
--- a/src/setup/setup.c
+++ b/src/setup/setup.c
@@ -37,6 +37,7 @@
#include <ftw.h>
#include <stdbool.h>
#include <blkid.h>
+#include <sys/sysmacros.h> /* For major and minor */
#include "efivars.h"