summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2017-11-23 08:46:38 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2017-11-24 10:36:59 +0100
commit0df8e030c3028584d32c3d25ec3d1430553b5deb (patch)
tree6b202ba1f5093fbe51a0a6768bdcb0cebe244e5f
parent2c80876ac2a42928167ed5567dc803179485c815 (diff)
downloadmeta-el-common-0df8e030c3028584d32c3d25ec3d1430553b5deb.tar.gz
enea mirror: add distro name to mirror path
Since we have multiple distributions now we need to have a mirror for each distro name and distro version. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
-rw-r--r--conf/distro/include/enea-mirrors.inc20
1 files changed, 11 insertions, 9 deletions
diff --git a/conf/distro/include/enea-mirrors.inc b/conf/distro/include/enea-mirrors.inc
index dfde96e..ead2d72 100644
--- a/conf/distro/include/enea-mirrors.inc
+++ b/conf/distro/include/enea-mirrors.inc
@@ -1,11 +1,13 @@
1MIRROR_ENEA_DISTRO = "${@d.getVar('DISTRO_NAME').replace(" ","")}${@d.getVar('DISTRO_VERSION_MAJOR').replace(" ","")}${@d.getVar('DISTRO_VERSION_MINOR').replace(" ","")}"
2
1MIRRORS_append = "\ 3MIRRORS_append = "\
2cvs://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 4cvs://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
3svn://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 5svn://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
4git://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 6git://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
5hg://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 7hg://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
6bzr://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 8bzr://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
7p4://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 9p4://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
8osc://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 10osc://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
9https?$://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 11https?$://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
10ftp://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ 12ftp://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \
11" 13"