[lfs] branch trunk updated: Remove the use of --image-base in GRUB

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

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 7aef032b8 Remove the use of --image-base in GRUB
7aef032b8 is described below

commit 7aef032b8a4d0d6bda338ed0f8472d790b43286d
Author: Pierre Labastie <[email protected]>
AuthorDate: Sun Feb 8 10:35:27 2026 +0100

    Remove the use of --image-base in GRUB
    
    See https://wiki.linuxfromscratch.org/lfs/ticket/5857.
    Fixes #5857
---
 chapter08/grub.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index f4f99c8f8..845c031ae 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -63,6 +63,12 @@
       aggressive optimization.</para>
     </warning>
 
+    <!-- See https://wiki.linuxfromscratch.org/lfs/ticket/5857. Remove this at
+    next grub version -->
+    <para>First 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>Prepare GRUB for compilation:</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.