From 6bb7ae93fa8f17dcf488ea84d2a7cca2f5fbd76a Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 29 Aug 2015 15:25:41 -0400 Subject: downloads: don't check sha512 on git/svm downloads Resetting to those commits already implies that they are correct, because git already does integrity checking. --- (limited to 'resources/scripts/helpers/download') diff --git a/resources/scripts/helpers/download/bucts b/resources/scripts/helpers/download/bucts index 9b277f2..ae58b93 100755 --- a/resources/scripts/helpers/download/bucts +++ b/resources/scripts/helpers/download/bucts @@ -48,13 +48,6 @@ cd "bucts/" printf "Patching bucts to not require git for building\n" git reset --hard dc27919d7a66a6e8685ce07c71aefa4f03ef7c07 -# Verify checksums of the downloaded files -# ------------------------------------------------------------------------------ - -sha512sum -c "../resources/scripts/helpers/sha512sums/bucts" || (cd "../" && rm -Rf "bucts/" && printf "Invalid checksums for bucts\n" && exit 1) - -printf "Valid checksums for bucts\n" - # Apply patches # ------------------------------------------------------------------------------ diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot index 6c1b3db..337cdad 100755 --- a/resources/scripts/helpers/download/coreboot +++ b/resources/scripts/helpers/download/coreboot @@ -46,13 +46,6 @@ cd "coreboot/" # reset to previously tested revision git reset --hard 5d5fcdd82b72c1fc621aab9fd6ff88cce9345d8e -# Verify checksums of the downloaded files -# ------------------------------------------------------------------------------ - -sha512sum -c "../resources/scripts/helpers/sha512sums/coreboot" || (cd "../" && rm -Rf "coreboot/" && printf "Invalid checksums for coreboot\n" && exit 1) - -printf "Valid checksums for coreboot\n" - # Get patches from review.coreboot.org # ------------------------------------------------------------------------------ diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom index 2262f63..403ba8f 100755 --- a/resources/scripts/helpers/download/flashrom +++ b/resources/scripts/helpers/download/flashrom @@ -41,13 +41,6 @@ svn co -r 1889 svn://flashrom.org/flashrom/trunk flashrom cd "flashrom/" -# Verify checksums of the downloaded files -# ------------------------------------------------------------------------------ - -sha512sum -c "../resources/scripts/helpers/sha512sums/flashrom" || (cd "../" && rm -Rf "flashrom/" && printf "Invalid checksums for flashrom\n" && exit 1) - -printf "Valid checksums for flashrom\n" - # Apply patches # ------------------------------------------------------------------------------ diff --git a/resources/scripts/helpers/download/grub b/resources/scripts/helpers/download/grub index 8349d93..3e91dbc 100755 --- a/resources/scripts/helpers/download/grub +++ b/resources/scripts/helpers/download/grub @@ -42,11 +42,6 @@ git clone git://git.savannah.gnu.org/grub.git # modifications are required cd "grub/" -# Reset to the last commit that was tested -# ------------------------------------------------------------------------------ - -git reset --hard afd0f21b2027310fda52b00ac1b964041d39a363 - # Verify checksums of the downloaded files # ------------------------------------------------------------------------------ -- cgit v0.9.1