Change the AGL mirror setup following the server change 17/21817/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 4 Jul 2019 15:20:23 +0000 (17:20 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 7 Jul 2019 05:35:53 +0000 (05:35 +0000)
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>
meta-agl-distro/conf/distro/poky-agl.conf

index 301ae8e..92a244b 100644 (file)
@@ -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