fix compilation of Grub2 on FreeBSD.
Karel Gardas
karel.gardas at centrum.cz
Thu Nov 11 12:44:46 UTC 2021
>From efa44e47a7d2f3fcb66c7bbedfd2b6e06f1cf54c Mon Sep 17 00:00:00 2001
From: Karel Gardas <karel at functional.vision>
Date: Thu, 11 Nov 2021 13:40:03 +0100
Subject: [PATCH 3/3] fix compilation of grub2 on FreeBSD
---
source-builder/config/grub2.cfg | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source-builder/config/grub2.cfg
b/source-builder/config/grub2.cfg
index c9b9c22..65aba60 100644
--- a/source-builder/config/grub2.cfg
+++ b/source-builder/config/grub2.cfg
@@ -44,7 +44,8 @@ URL: https://www.gnu.org/software/grub/index.html
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir} \
--with-platform=%{grub2_platform} \
- --target=%{grub2_target}
+ --target=%{grub2_target} \
+ --disable-libzfs # broken on FreeBSD and not needed at all
%{__make} %{?_smp_mflags} all
--
2.25.1
More information about the devel
mailing list