Bläddra i källkod

fix grub to prevent generation of a huge binary blob for lzma compression

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12143 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Pierre Labastie 3 år sedan
förälder
incheckning
5595514967
3 ändrade filer med 19 tillägg och 3 borttagningar
  1. 11 0
      chapter01/changelog.xml
  2. 5 0
      chapter08/grub.xml
  3. 3 3
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -43,6 +43,17 @@
     appropriate for the entry or if needed the entire day's listitem.
     -->
 
+    <listitem>
+      <itemizedlist>
+      <para>2021-02-20</para>
+        <listitem>
+          <para>[pierre] - Fix grub to prevent generation of a huge binary
+          blob for lzma compression. Reported on the lfs-support mailing
+          list by Frans de Boer.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <itemizedlist>
       <para>2021-02-18</para>

+ 5 - 0
chapter08/grub.xml

@@ -40,6 +40,11 @@
   <sect2 role="installation">
     <title>Installation of GRUB</title>
 
+    <para>First, fix an issue introduced by binutils-2.36:</para>
+
+<screen><userinput remap="pre">sed "s/gold-version/&amp; -R .note.gnu.property/" \
+    -i Makefile.in grub-core/Makefile.in</userinput></screen>
+
     <para>Prepare GRUB for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr          \

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20210218">
+<!ENTITY version         "SVN-20210220">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20210218-systemd">
+<!ENTITY versiond        "20210220-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "February 18th, 2021">
+<!ENTITY releasedate     "February 20th, 2021">
 
 <!ENTITY copyrightdate   "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->