From 55c0424ea947200c7d907b05cd35a71ddb4d205b Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 24 Nov 2016 18:44:30 +0100 Subject: [PATCH] Added mainline U-boot mirror as an option since it's completely failing for me ATM, perhaps it will be useful and faster for someone. --- configuration.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.sh b/configuration.sh index d2c256dbe4..d739193953 100644 --- a/configuration.sh +++ b/configuration.sh @@ -43,7 +43,11 @@ ARMBIAN_MAINLINE_KERNEL_VERSION='4.8' MAINLINE_KERNEL_BRANCH=tag:v$(wget -qO- https://www.kernel.org/finger_banner | awk '{print $NF}' | grep -oE "^${ARMBIAN_MAINLINE_KERNEL_VERSION//./\\.}\.?[[:digit:]]*" | tail -1) MAINLINE_KERNEL_DIR='linux-vanilla' -MAINLINE_UBOOT_SOURCE='git://git.denx.de/u-boot.git' +if [[ $USE_GITHUB_UBOOT_MIRROR == yes ]]; then + MAINLINE_UBOOT_SOURCE='https://github.com/RobertCNelson/u-boot' +else + MAINLINE_UBOOT_SOURCE='git://git.denx.de/u-boot.git' +fi #MAINLINE_UBOOT_BRANCH="v$(git ls-remote git://git.denx.de/u-boot.git | grep -v rc | grep -v '\^' | tail -1 | cut -d'v' -f 2)" MAINLINE_UBOOT_BRANCH='tag:v2016.11' MAINLINE_UBOOT_DIR='u-boot'