summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorGeorge Nita <george.nita@enea.com>2015-11-24 16:31:44 +0100
committerTudor Florea <tudor.florea@enea.com>2015-11-26 01:44:00 +0100
commit7c31d929af764a61ffdfc99ec9c2fc23e24dad2b (patch)
tree4f79c8ff6a71fc2c1b9c13a4379ead59729773e2 /conf
parent9ea9109bb950be420fe67bb15cadea59c6e544ac (diff)
downloadmeta-nfv-access-common-7c31d929af764a61ffdfc99ec9c2fc23e24dad2b.tar.gz
distro: Set PREMIRRORS to linux.enea.com
Enea mirrors should be searched first. Signed-off-by: George Nita <george.nita@enea.com> Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/enea.conf1
-rw-r--r--conf/distro/include/enea-mirrors.inc12
2 files changed, 13 insertions, 0 deletions
diff --git a/conf/distro/enea.conf b/conf/distro/enea.conf
index da5ddd5..94deafb 100644
--- a/conf/distro/enea.conf
+++ b/conf/distro/enea.conf
@@ -5,6 +5,7 @@ DISTRO_VERSION_MAJOR = "5.0"
5DISTRO_VERSION_MINOR ??= "" 5DISTRO_VERSION_MINOR ??= ""
6DISTRO_VERSION = "${DISTRO_VERSION_MAJOR}${DISTRO_VERSION_MINOR}" 6DISTRO_VERSION = "${DISTRO_VERSION_MAJOR}${DISTRO_VERSION_MINOR}"
7 7
8require conf/distro/include/enea-mirrors.inc
8 9
9SDK_VENDOR = "-eneasdk" 10SDK_VENDOR = "-eneasdk"
10SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" 11SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
diff --git a/conf/distro/include/enea-mirrors.inc b/conf/distro/include/enea-mirrors.inc
new file mode 100644
index 0000000..3a9bfa4
--- /dev/null
+++ b/conf/distro/include/enea-mirrors.inc
@@ -0,0 +1,12 @@
1PREMIRRORS ??= "\
2cvs://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
3svn://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
4git://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
5hg://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
6bzr://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
7svk://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
8p4://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
9osc://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
10https?$://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
11ftp://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \
12"