From: Daniel Hokka Zakrisson Date: Sat, 21 Apr 2007 14:03:09 +0000 (+0000) Subject: Add CentOS 5. X-Git-Tag: release-0.30.214~75 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96fc40a5161f033bc66f606d49faf1aa93fa94a2;p=util-vserver.git Add CentOS 5. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2530 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/distrib/Makefile.am b/distrib/Makefile.am index ba62496..d80b4bf 100644 --- a/distrib/Makefile.am +++ b/distrib/Makefile.am @@ -59,6 +59,8 @@ nobase_distrib_DATA = defaults/devs \ $(wildcard fc6/rpmlist.d/*.lst) $(wildcard fc6/rpmlist.d/*.opt) \ centos4/pkgs/01 centos4/pkgs/02 centos4/pkgs/03 \ centos4/yum/yum.conf $(wildcard centos4/yum.repos.d/*.repo) \ + centos5/pkgs/01 centos5/pkgs/02 centos5/pkgs/03 \ + centos5/yum/yum.conf $(wildcard centos5/yum.repos.d/*.repo) \ suse91/apt/rpmpriorities suse91/pkgs/01 suse91/pkgs/02 \ suse91/rpm/macros \ gentoo/init-vserver.sh gentoo/net.vserver \ @@ -82,7 +84,7 @@ EXTRA_DIST = $(nobase_distrib_DATA) \ $(nobase_confdistrib_DATA) \ $(defaults_DATA) -redhat_style = rh9 fc1 fc2 fc3 fc4 fc5 fc6 centos4 +redhat_style = rh9 fc1 fc2 fc3 fc4 fc5 fc6 centos4 centos5 install-exec-hook: install-notify-xtra install-data-hook: install-data-xtras diff --git a/distrib/centos5/pkgs/01 b/distrib/centos5/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/centos5/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/centos5/pkgs/02 b/distrib/centos5/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/centos5/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/centos5/pkgs/03 b/distrib/centos5/pkgs/03 new file mode 100644 index 0000000..64ab4a7 --- /dev/null +++ b/distrib/centos5/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +setup diff --git a/distrib/centos5/yum.repos.d/CentOS-Base.repo b/distrib/centos5/yum.repos.d/CentOS-Base.repo new file mode 100644 index 0000000..a4281a2 --- /dev/null +++ b/distrib/centos5/yum.repos.d/CentOS-Base.repo @@ -0,0 +1,61 @@ +# CentOS-Base.repo +# +# This file uses a new mirrorlist system developed by Lance Davis for CentOS. +# 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-5 - Base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os +#baseurl=http://mirror.centos.org/centos/5/os/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#released updates +[updates] +name=CentOS-5 - Updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates +#baseurl=http://mirror.centos.org/centos/5/updates/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#packages used/produced in the build but not released +[addons] +name=CentOS-5 - Addons +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=addons +#baseurl=http://mirror.centos.org/centos/5/addons/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#additional packages that may be useful +[extras] +name=CentOS-5 - Extras +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extras +#baseurl=http://mirror.centos.org/centos/5/extras/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-5 - Plus +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus +#baseurl=http://mirror.centos.org/centos/5/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#contrib - packages by Centos Users +[contrib] +name=CentOS-5 - Contrib +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=contrib +#baseurl=http://mirror.centos.org/centos/5/contrib/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 diff --git a/distrib/centos5/yum/yum.conf b/distrib/centos5/yum/yum.conf new file mode 100644 index 0000000..952f111 --- /dev/null +++ b/distrib/centos5/yum/yum.conf @@ -0,0 +1,10 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=centos-release +installonlypkgs= +exactarch=0