Update Mirror setup for octopus 70/28570/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 15 Mar 2023 08:54:47 +0000 (09:54 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 19 Mar 2023 22:09:04 +0000 (22:09 +0000)
Change-Id: Ib0b8bf6feaee6b7c5231c0577861f41773e8cd75
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28570
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

templates/feature/agl-ci/99_local.conf.inc

index 8d56baa..62d0c85 100644 (file)
@@ -6,14 +6,10 @@ PARALLEL_MAKE:pn-opencv = "-j 1"
 AGL_HOST_PREMIRROR ?= "http://download.automotivelinux.org"
 AGL_HOST_SSTATE_MIRROR ?= "http://download.automotivelinux.org"
 
-PREMIRRORS = " \
-git://.*/.*   ${AGL_HOST_PREMIRROR}/AGL/mirror/  \n \
-ftp://.*/.*   ${AGL_HOST_PREMIRROR}/AGL/mirror/  \n \
-http://.*/.*  ${AGL_HOST_PREMIRROR}/AGL/mirror/  \n \
-https://.*/.* ${AGL_HOST_PREMIRROR}/AGL/mirror/  \n \
-"
-
-SSTATE_MIRRORS = "  file://.* ${AGL_HOST_SSTATE_MIRROR}/sstate-mirror/master/${DEFAULTTUNE}/PATH;downloadfilename=PATH \n                  "
+SOURCE_MIRROR_URL := "${AGL_HOST_PREMIRROR}/AGL/mirror/"
+INHERIT += "own-mirrors"
+
+SSTATE_MIRRORS = "  file://.* ${AGL_HOST_SSTATE_MIRROR}/sstate-mirror/${AGL_BRANCH}/${DEFAULTTUNE}/PATH;downloadfilename=PATH \n                  "
 
 #INHERIT += "packagefeed-stability"
 INHERIT += "buildhistory"