[lfs] branch trunk updated: grub: drop repeated sed

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <177748321682.31377.10640753812754848798@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 aa70d7a5b grub: drop repeated sed
aa70d7a5b is described below

commit aa70d7a5b3e6b7894256e09912d5a9271ad8e913
Author: Xi Ruoyao <[email protected]>
AuthorDate: Thu Apr 30 01:18:25 2026 +0800

    grub: drop repeated sed
    
    The bug only affects BIOS.  So if the user has not built grub for BIOS,
    (s)he won't use BIOS and the sed is not needed; if the user has built
    grub for BIOS, the sed should have been already executed when (s)he was
    building grub for BIOS.
    
    So in either case, we don't need to repeat the sed in the EFI sections.
---
 chapter08/grub.xml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 5d026bed4..ba89f481b 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -120,10 +120,6 @@
 
 <screen><userinput remap="pre">make clean</userinput></screen>
 
-    <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 configure GRUB for 64-bit UEFI support:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr       \
@@ -177,10 +173,6 @@
 
 <screen><userinput remap="pre">make clean</userinput></screen>
 
-    <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 configure GRUB for 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.