aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2021-02-20 21:02:59 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2021-02-20 21:02:59 +0000
commit55955149674702f45bf4041e9df1f57895696e9c (patch)
treed6198fac71920de22e3ea2be06ba1772c48f1cc7
parenteb801a61c19c8623a936072ed351b8fbba113b70 (diff)
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
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter08/grub.xml5
-rw-r--r--general.ent6
3 files changed, 19 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 9e31c170f..ceef61e63 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -45,6 +45,17 @@
<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>
<listitem>
<para>[bdubbs] - Fix a glibc bug that causes issues with chrooted applications. Fixes
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 51726e87f..d78a4458a 100644
--- a/chapter08/grub.xml
+++ b/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 \
diff --git a/general.ent b/general.ent
index dd18b3fda..431dc3fad 100644
--- a/general.ent
+++ b/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; -->