aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-07-04 17:20:23 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-07-07 05:36:28 +0000
commitceea517265dcfd7a3cc2bcf17700a5a005db3c94 (patch)
tree60e10f95e4ecd34db3b8773ff276de2532bc5d8a
parent61949179c8c0df1767fc2562aba1a5b113bdd123 (diff)
Change the AGL mirror setup following the server change
The download server is currently http only. Add a fallback option to the MIRRORS in the distro configuration. Change-Id: Ic5403d921463a4f6aea813a150950c0d023aa77d Bug-AGL: SPEC-2604 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> (cherry picked from commit ea174a74a9e3325e07b6daa2f998b40f58981d56)
-rw-r--r--meta-agl-distro/conf/distro/poky-agl.conf33
1 files changed, 22 insertions, 11 deletions
diff --git a/meta-agl-distro/conf/distro/poky-agl.conf b/meta-agl-distro/conf/distro/poky-agl.conf
index 203cdc80e..498c644a9 100644
--- a/meta-agl-distro/conf/distro/poky-agl.conf
+++ b/meta-agl-distro/conf/distro/poky-agl.conf
@@ -49,20 +49,31 @@ OVERRIDES .= ":${DISTRO_CODENAME}"
QEMU_TARGETS ?= "arm aarch64 i386 x86_64"
# Other QEMU_TARGETS "mips mips64 mips64el ppc sh4"
-PREMIRRORS ??= "\
-bzr://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-cvs://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-git://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-gitsm://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-hg://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-osc://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-p4://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-svn://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n"
-
MIRRORS =+ "\
+bzr://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+cvs://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+git://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+gitsm://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+hg://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+osc://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+p4://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+svn://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+bzr://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+cvs://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+git://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+gitsm://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+hg://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+osc://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+p4://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+svn://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+ \
ftp://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
http://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
-https://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n"
+https://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
+ftp://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+http://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+https://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \
+"
# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
# fetch from the network (and warn you if not). To disable the test set