aboutsummaryrefslogtreecommitdiff
path: root/scripts/grub.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/grub.sh')
-rw-r--r--scripts/grub.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/grub.sh b/scripts/grub.sh
new file mode 100644
index 0000000..8c37155
--- /dev/null
+++ b/scripts/grub.sh
@@ -0,0 +1,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