aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
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 /chapter08
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
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/grub.xml5
1 files changed, 5 insertions, 0 deletions
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 \