summaryrefslogtreecommitdiffstats
path: root/build/fuel-main_7.patch
blob: aa8eaf9ad2f1588a869df3f1a11f9b9d3b2ab7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** config.mk.orig	Thu Jan  7 23:30:38 2016
--- config.mk	Thu Jan  7 23:32:36 2016
***************
*** 153,159 ****
  # 'msk', 'srt', 'usa', 'hrk', 'cz'
  # Setting any other value or removing of this variable will cause
  # download of all the packages directly from internet
! USE_MIRROR?=ext
  
  ifeq ($(USE_MIRROR),ext)
  MIRROR_FUEL?=http://mirror.fuel-infra.org/mos-repos/centos/$(PRODUCT_NAME)$(PRODUCT_VERSION)-centos$(CENTOS_MAJOR)-fuel/os/x86_64/
--- 153,159 ----
  # 'msk', 'srt', 'usa', 'hrk', 'cz'
  # Setting any other value or removing of this variable will cause
  # download of all the packages directly from internet
! USE_MIRROR?=cz
  
  ifeq ($(USE_MIRROR),ext)
  MIRROR_FUEL?=http://mirror.fuel-infra.org/mos-repos/centos/$(PRODUCT_NAME)$(PRODUCT_VERSION)-centos$(CENTOS_MAJOR)-fuel/os/x86_64/
an> then echo "Could not open $1" exit 1 fi echo "Checking dependencies in $1" rc=0 for uri in `cat $1` do if ! curl -sfr 0-100 $uri > /dev/null; then echo "Failed fetching $uri" >&2 rc=1 fi done if [ $rc -ne 0 ]; then echo "ERROR checking dependencies in $1" else echo "Dependencies OK" fi exit $rc