From af28b78b8e659f995b39a5dde2ce2cef0da9fbe0 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 6 Apr 2021 14:09:59 -0500 Subject: Add chapter8 script commands. --- chapter8/grub.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'chapter8/grub.sh') 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 -- cgit v1.2.3-54-g00ecf