diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2021-02-20 21:02:59 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2021-02-20 21:02:59 +0000 |
commit | 55955149674702f45bf4041e9df1f57895696e9c (patch) | |
tree | d6198fac71920de22e3ea2be06ba1772c48f1cc7 /chapter08 | |
parent | eb801a61c19c8623a936072ed351b8fbba113b70 (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.xml | 5 |
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/& -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 \ |