aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/grub.sh
blob: 128cdb9e0438966794c239ed0e107f2083db98a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -e

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