diff options
author | baigk <baiguoku@huawei.com> | 2015-09-08 07:47:19 -0400 |
---|---|---|
committer | baigk <baiguoku@huawei.com> | 2015-09-08 08:24:09 -0400 |
commit | cf87d3067a63cb8be315a3addfd9c27d86be3b5a (patch) | |
tree | 861d46aebc75c73cc13a19fecfb5c48aa88a56a1 /build/os/centos/rhel6/base.repo | |
parent | 633175ed2c5d0ab339027ba0a542bcdd4d3769c0 (diff) |
Build improvement for speedup and using public repo
JIRA: COMPASS-19
Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b
Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'build/os/centos/rhel6/base.repo')
-rw-r--r-- | build/os/centos/rhel6/base.repo | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/build/os/centos/rhel6/base.repo b/build/os/centos/rhel6/base.repo new file mode 100644 index 00000000..e1ea7c4b --- /dev/null +++ b/build/os/centos/rhel6/base.repo @@ -0,0 +1,52 @@ +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-$releasever - Base - 163.com +baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/ +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 + +#released updates +[updates] +name=CentOS-$releasever - Updates - 163.com +baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/ +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 + +#additional packages that may be useful +[extras] +name=CentOS-$releasever - Extras - 163.com +baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/ +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-$releasever - Plus - 163.com +baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/ +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 + +#contrib - packages by Centos Users +[contrib] +name=CentOS-$releasever - Contrib - 163.com +baseurl=http://mirrors.163.com/centos/$releasever/contrib/$basearch/ +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 |