diff options
author | George Nita <george.nita@enea.com> | 2015-11-24 16:31:44 +0100 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-11-26 01:44:00 +0100 |
commit | 7c31d929af764a61ffdfc99ec9c2fc23e24dad2b (patch) | |
tree | 4f79c8ff6a71fc2c1b9c13a4379ead59729773e2 /conf | |
parent | 9ea9109bb950be420fe67bb15cadea59c6e544ac (diff) | |
download | meta-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.conf | 1 | ||||
-rw-r--r-- | conf/distro/include/enea-mirrors.inc | 12 |
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" | |||
5 | DISTRO_VERSION_MINOR ??= "" | 5 | DISTRO_VERSION_MINOR ??= "" |
6 | DISTRO_VERSION = "${DISTRO_VERSION_MAJOR}${DISTRO_VERSION_MINOR}" | 6 | DISTRO_VERSION = "${DISTRO_VERSION_MAJOR}${DISTRO_VERSION_MINOR}" |
7 | 7 | ||
8 | require conf/distro/include/enea-mirrors.inc | ||
8 | 9 | ||
9 | SDK_VENDOR = "-eneasdk" | 10 | SDK_VENDOR = "-eneasdk" |
10 | SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" | 11 | SDK_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 @@ | |||
1 | PREMIRRORS ??= "\ | ||
2 | cvs://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
3 | svn://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
4 | git://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
5 | hg://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
6 | bzr://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
7 | svk://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
8 | p4://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
9 | osc://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
10 | https?$://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
11 | ftp://.*/.* http://linux.enea.com/${DISTRO_VERSION}/sources/ \n \ | ||
12 | " | ||