diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-11-23 08:46:38 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-11-24 10:36:59 +0100 |
commit | 0df8e030c3028584d32c3d25ec3d1430553b5deb (patch) | |
tree | 6b202ba1f5093fbe51a0a6768bdcb0cebe244e5f /conf | |
parent | 2c80876ac2a42928167ed5567dc803179485c815 (diff) | |
download | meta-nfv-access-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>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/include/enea-mirrors.inc | 20 |
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 @@ | |||
1 | MIRROR_ENEA_DISTRO = "${@d.getVar('DISTRO_NAME').replace(" ","")}${@d.getVar('DISTRO_VERSION_MAJOR').replace(" ","")}${@d.getVar('DISTRO_VERSION_MINOR').replace(" ","")}" | ||
2 | |||
1 | MIRRORS_append = "\ | 3 | MIRRORS_append = "\ |
2 | cvs://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 4 | cvs://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
3 | svn://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 5 | svn://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
4 | git://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 6 | git://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
5 | hg://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 7 | hg://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
6 | bzr://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 8 | bzr://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
7 | p4://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 9 | p4://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
8 | osc://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 10 | osc://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
9 | https?$://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 11 | https?$://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
10 | ftp://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | 12 | ftp://.*/.* http://linux.enea.com/${MIRROR_ENEA_DISTRO}/sources/ \n \ |
11 | " | 13 | " |