aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/grub.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/grub.sh')
-rw-r--r--chapter8/grub.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter8/grub.sh b/chapter8/grub.sh
index 7a693aa..edb7b3b 100644
--- a/chapter8/grub.sh
+++ b/chapter8/grub.sh
@@ -1,3 +1,15 @@
#!/bin/bash
+sed "s/gold-version/& -R .note.gnu.property/" \
+ -i Makefile.in grub-core/Makefile.in
+./configure --prefix=/usr \
+ --sbindir=/sbin \
+ --sysconfdir=/etc \
+ --disable-efiemu \
+ --disable-werror
+
+make
+
+make -j1 install
+mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions