[lfs] 02/02: Grub: Don't take chances, remove --image-base for all builds.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch zeckma/uefi-support
in repository lfs.

commit 2c560818cfa986b1a24b327e77b4e22a2e56e5a1
Author: Zeckmathederg <[email protected]>
AuthorDate: Sun Feb 8 12:39:38 2026 -0700

    Grub: Don't take chances, remove --image-base for all builds.
---
 chapter08/grub.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index cc1fd8221..23f48cf40 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -119,6 +119,12 @@
 
 <screen><userinput remap="pre">make clean</userinput></screen>
 
+    <!-- See https://wiki.linuxfromscratch.org/lfs/ticket/5857. Remove this at
+    next grub version -->
+    <para>Fix a bug introduced in grub-2.14:</para>
+
+<screen><userinput remap="pre">sed 's/--image-base/--nonexist-linker-option/' -i configure</userinput></screen>
+
     <para>Now build GRUB with 64-bit UEFI support:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr       \
@@ -149,6 +155,12 @@
 
 <screen><userinput remap="pre">make clean</userinput></screen>
 
+    <!-- See https://wiki.linuxfromscratch.org/lfs/ticket/5857. Remove this at
+    next grub version -->
+    <para>Fix a bug introduced in grub-2.14:</para>
+
+<screen><userinput remap="pre">sed 's/--image-base/--nonexist-linker-option/' -i configure</userinput></screen>
+
     <para>Now build GRUB with 32-bit UEFI support:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr       \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.