aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/download
diff options
context:
space:
mode:
authorJoseph Michael Thompson <jmt@josepht.me>2015-04-10 15:15:07 -0400
committerFrancis Rowe <info@gluglug.org.uk>2015-04-10 21:53:18 +0100
commit1360aae9a0caae69fe468a0832c01dfaa2563faa (patch)
tree740dace72e7b53500f60759af0f6b1388fe5e335 /resources/scripts/helpers/download
parent57444b1c8bbe6169cd536c67591e276ad4910b71 (diff)
downloadlibrebootfr-1360aae9a0caae69fe468a0832c01dfaa2563faa.tar.gz
librebootfr-1360aae9a0caae69fe468a0832c01dfaa2563faa.zip
trim a few long lines, eliminate/add trailing newlines for consistency
Diffstat (limited to 'resources/scripts/helpers/download')
-rwxr-xr-xresources/scripts/helpers/download/bucts7
-rwxr-xr-xresources/scripts/helpers/download/coreboot9
-rwxr-xr-xresources/scripts/helpers/download/flashrom5
-rwxr-xr-xresources/scripts/helpers/download/grub9
-rwxr-xr-xresources/scripts/helpers/download/memtest86plus7
5 files changed, 18 insertions, 19 deletions
diff --git a/resources/scripts/helpers/download/bucts b/resources/scripts/helpers/download/bucts
index ac12d1c1..b5defead 100755
--- a/resources/scripts/helpers/download/bucts
+++ b/resources/scripts/helpers/download/bucts
@@ -27,14 +27,14 @@ set -u -e
# Get bucts and checkout last revision used
# Remove the old version that may exist
-# -----------------------------------------------------------
+# ------------------------------------------------------------------------------
printf "Downloading bucts\n"
rm -rf bucts
# Get bucts
-# -----------------------------------------------------------
+# ------------------------------------------------------------------------------
# download it using git
git clone git://git.stuge.se/bucts.git
@@ -43,7 +43,7 @@ git clone git://git.stuge.se/bucts.git
cd bucts
# Reset to the last commit that was tested
-# -----------------------------------------------------------
+# ------------------------------------------------------------------------------
printf "Patching bucts to not require git for building\n"
git reset --hard dc27919d7a66a6e8685ce07c71aefa4f03ef7c07
@@ -55,3 +55,4 @@ cd ../
printf "\n\n"
# ------------------- DONE ----------------------
+
diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot
index 1b34d4ba..54ada0e3 100755
--- a/resources/scripts/helpers/download/coreboot
+++ b/resources/scripts/helpers/download/coreboot
@@ -30,12 +30,12 @@ printf "Downloading coreboot, patching coreboot and deblobbing coreboot\n"
# This is also used to run the deblob scripts.
# Remove the old version that may exist
-# ----------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
rm -rf coreboot
# Get latest coreboot:
-# ----------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# download it using git
git clone http://review.coreboot.org/coreboot
@@ -47,7 +47,7 @@ cd coreboot/
git reset --hard 8e3da749ed912834ddf9b78bff956a2b7d269945
# Get patches from review.coreboot.org
-# ----------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
printf "Text mode patch for X60 native graphics (main patch already merged in coreboot. See 6723 on coreboot gerrit)\n"
git fetch http://review.coreboot.org/coreboot refs/changes/25/6725/3 && git cherry-pick FETCH_HEAD
@@ -84,7 +84,7 @@ printf "ThinkPad T500 (depends on T400 patch)\n"
git fetch http://review.coreboot.org/coreboot refs/changes/81/9181/1 && git cherry-pick FETCH_HEAD
# Run coreboot-libre deblob scripts
-# ---------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
printf "Deleting .git* in coreboot/ (history inside .git contains the blobs that were deleted)\n"
rm -rf .git
@@ -101,4 +101,3 @@ printf "\n\n"
# ------------------- DONE ----------------------
-
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index 80a14360..cf957a39 100755
--- a/resources/scripts/helpers/download/flashrom
+++ b/resources/scripts/helpers/download/flashrom
@@ -27,14 +27,14 @@ set -u -e
# Get flashrom at the last previously tested revision
# Remove the old version that may still exist:
-# ---------------------------------------------------------------------
+# ------------------------------------------------------------------------------
printf "Downloading flashrom\n"
rm -rf flashrom
# Get flashrom
-# ---------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# download it using subversion
svn co -r 1858 svn://flashrom.org/flashrom/trunk flashrom
@@ -58,3 +58,4 @@ cd ../
printf "\n\n"
# ------------------- DONE ----------------------
+
diff --git a/resources/scripts/helpers/download/grub b/resources/scripts/helpers/download/grub
index 6b6c47f5..91f97ff1 100755
--- a/resources/scripts/helpers/download/grub
+++ b/resources/scripts/helpers/download/grub
@@ -27,14 +27,14 @@ set -u -e
# Get GRUB, revert to commit last used and apply patches.
# Remove the old version that may still exist
-# -------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
printf "Downloading GRUB\n"
rm -rf grub
# Get latest GRUB
-# -------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# download it using git
git clone git://git.savannah.gnu.org/grub.git
@@ -43,12 +43,12 @@ git clone git://git.savannah.gnu.org/grub.git
cd grub
# Reset to the last commit that was tested
-# --------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
git reset --hard fa07d919d1ff868b18d8a42276d094b63a58e299
# Apply patches
-# --------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Replace "GNU GRUB version" in GRUB screen with "FREE AS IN FREEDOM"
git am "../resources/grub/patch/0001-grub-core-normal-main.c-Display-FREE-AS-IN-FREEDOM-n.patch"
@@ -63,4 +63,3 @@ printf "\n\n"
# ------------------- DONE ----------------------
-
diff --git a/resources/scripts/helpers/download/memtest86plus b/resources/scripts/helpers/download/memtest86plus
index 7424aab3..99fc3c4c 100755
--- a/resources/scripts/helpers/download/memtest86plus
+++ b/resources/scripts/helpers/download/memtest86plus
@@ -28,14 +28,14 @@ set -u -e
# Get the last version of MemTest86+ used, apply patches, build it.
# Remove the old version that may exist
-# ----------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
printf "Downloading MemTest86+\n"
rm -rf "memtest86+-5.01"
# Get latest memtest86+:
-# ----------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# download it using wget
wget http://www.memtest.org/download/5.01/memtest86+-5.01.tar.gz
@@ -50,7 +50,7 @@ rm -f "memtest86+-5.01.tar.gz"
cd "memtest86+-5.01"/
# Apply necessary patches
-# ---------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# place the right config
rm -f config.h
@@ -69,4 +69,3 @@ printf "\n\n"
# ------------------- DONE ----------------------
-