aboutsummaryrefslogtreecommitdiff
path: root/scripts/grub.sh
blob: 8c371557f4d1f52906a896e49c203ebf281d4732 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
. ./.vars
VERSION=2.02
cd $build_dir
if ! [ -d "${build_dir}/grub-$VERSION" ] ; then
	xz -dc < "${dist_dir}/grub-$VERSION.tar.xz" | tar -xvf -
fi
cd "grub-$VERSION"
export DESTDIR="$prefix"
./configure \
	--prefix='/usr' \
	--disable-werror # Why in the fuck do I have to add disable -Werror?
                     # Is GRUB really *that* shit?
make -j8
make install