git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable openvswitch for rc26 build
[build.git]
/
vbuild-fedora-mirror.sh
diff --git
a/vbuild-fedora-mirror.sh
b/vbuild-fedora-mirror.sh
index
14d9be7
..
716b9f3
100755
(executable)
--- a/
vbuild-fedora-mirror.sh
+++ b/
vbuild-fedora-mirror.sh
@@
-34,8
+34,8
@@
jp_fedora_url="jp_fedora_url-needs-to-be-defined"
jp_centos_url="jp_centos_url-needs-to-be-defined"
jp_epel_url="jp_epel_url-needs-to-be-defined"
jp_centos_url="jp_centos_url-needs-to-be-defined"
jp_epel_url="jp_epel_url-needs-to-be-defined"
-default_distroname="centos5.
5
"
-all_distronames="f1
3 f12 centos5.4 centos5.5 epel5
"
+default_distroname="centos5.
6
"
+all_distronames="f1
4 f16 centos5.6 epel5 epel6
"
default_arch="i386"
all_archs="i386 x86_64"
default_arch="i386"
all_archs="i386 x86_64"
@@
-71,8
+71,8
@@
function mirror_distro_arch () {
distro="CentOS"
rsyncurl=$centos_url
;;
distro="CentOS"
rsyncurl=$centos_url
;;
- epel
5
)
- distroindex=
5
+ epel
[5-6]
)
+ distroindex=
$(echo $distroname | sed -e "s,epel,,g")
distro=epel
rsyncurl=$epel_url
;;
distro=epel
rsyncurl=$epel_url
;;
@@
-133,7
+133,7
@@
function mirror_distro_arch () {
epel*)
case $distroindex in
epel*)
case $distroindex in
- 5)
+ 5
|6
)
paths="$paths $distroindex/$arch/"
RES=0
;;
paths="$paths $distroindex/$arch/"
RES=0
;;