From 668af73f38dc744a37d4edba2c3c833bf7e29a16 Mon Sep 17 00:00:00 2001 From: Steven Noble Date: Mon, 1 Feb 2016 10:20:32 -0800 Subject: [PATCH] updated buildroot primary mirror to github, set primary mirror only in buildroot configuration files --- .../base/any/initrds/buildroot/builds/buildroot.config-powerpc | 2 +- .../base/any/initrds/buildroot/builds/buildroot.config-x86_64 | 2 +- setup.env | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/base/any/initrds/buildroot/builds/buildroot.config-powerpc b/packages/base/any/initrds/buildroot/builds/buildroot.config-powerpc index a493261a..3d6f2bd3 100644 --- a/packages/base/any/initrds/buildroot/builds/buildroot.config-powerpc +++ b/packages/base/any/initrds/buildroot/builds/buildroot.config-powerpc @@ -85,7 +85,7 @@ BR2_HOST_DIR="$(BASE_DIR)/host" # Mirrors and Download locations # BR2_PRIMARY_SITE="$(BUILDROOTMIRROR)" -# BR2_PRIMARY_SITE_ONLY is not set +BR2_PRIMARY_SITE_ONLY=y BR2_BACKUP_SITE="https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl" BR2_KERNEL_MIRROR="http://www.kernel.org/pub/" BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu" diff --git a/packages/base/any/initrds/buildroot/builds/buildroot.config-x86_64 b/packages/base/any/initrds/buildroot/builds/buildroot.config-x86_64 index 6194cb4a..4cd85df1 100644 --- a/packages/base/any/initrds/buildroot/builds/buildroot.config-x86_64 +++ b/packages/base/any/initrds/buildroot/builds/buildroot.config-x86_64 @@ -60,7 +60,7 @@ BR2_HOST_DIR="$(BASE_DIR)/host" # Mirrors and Download locations # BR2_PRIMARY_SITE="$(BUILDROOTMIRROR)" -# BR2_PRIMARY_SITE_ONLY is not set +BR2_PRIMARY_SITE_ONLY=y BR2_BACKUP_SITE="https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl" BR2_KERNEL_MIRROR="http://www.kernel.org/pub/" BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu" diff --git a/setup.env b/setup.env index bbe964a8..57c6aa21 100755 --- a/setup.env +++ b/setup.env @@ -31,7 +31,7 @@ export ONLPM_OPTION_INCLUDE_ENV_JSON="$ONL/make/version-onl.json" # # buildroot download mirror. We suggest you setup a local repository containing these contents for faster local builds. # -export BUILDROOTMIRROR=${BUILDROOTMIRROR:-"http://buildroot.hw.bigswitch.com/dl"} +export BUILDROOTMIRROR=${BUILDROOTMIRROR:-"https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl"} # These submodules are required for almost everything. $ONL/tools/submodules.py $ONL sm/infra