summaryrefslogtreecommitdiff
path: root/getgrubinvaders
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-12-28 13:47:45 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-12-28 13:47:45 -0500
commita45f20c0266103ed948d4a644e6d6d1c33a90b38 (patch)
tree4ad5d5e02ccded7feeac0a9b7f9e39490949a39f /getgrubinvaders
parent63508d43f3c2f558c04065041919706cf2a86ef4 (diff)
refactor
Diffstat (limited to 'getgrubinvaders')
-rwxr-xr-xgetgrubinvaders66
1 files changed, 0 insertions, 66 deletions
diff --git a/getgrubinvaders b/getgrubinvaders
deleted file mode 100755
index 3dab56d..0000000
--- a/getgrubinvaders
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/bash
-
-# getmt86: Downloads gRUB Invaders and patches it
-#
-# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-set -u -e -v
-
-# Get the last version of GRUB invaders used, apply patches, build it.
-
-# Remove the old version that may exist
-# ----------------------------------------------------------------------------------
-
-rm -rf grubinvaders
-
-# Get latest memtest86+:
-# ----------------------------------------------------------------------------------
-
-# download it using wget
-wget http://www.erikyyy.de/invaders/invaders-1.0.0.tar.gz
-
-# extract it
-tar -xf "invaders-1.0.0.tar.gz"
-
-# delete the tar file (no longer needed)
-rm -f "invaders-1.0.0.tar.gz"
-
-# rename directory (for consistency with script names)
-mv invaders grubinvaders
-
-# there are modifications required
-cd grubinvaders/
-
-# Apply necessary patches
-# ---------------------------------------------------------------------------------
-
-# Apply patch mentioned on http://www.coreboot.org/GRUB_invaders
-cp ../resources/grubinvaders/patch/diff.patch .
-cp ../resources/grubinvaders/patch/compile.sh.patch .
-patch < diff.patch
-patch compile.sh < compile.sh.patch
-
-# delete the copy of the patch (no longer needed)
-rm -f diff.patch
-rm -f compile.sh.patch
-
-# we're done
-cd ../
-
-# ------------------- DONE ----------------------
-
-