From 925e69ce006ee22fbc35b8328dcd4942d9215c96 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Tue, 6 Sep 2011 19:03:13 +0200 Subject: [PATCH] Add Scientific Linux 6 --- distrib/Makefile.am | 4 +++- distrib/sl6/pkgs/01 | 1 + distrib/sl6/pkgs/02 | 3 +++ distrib/sl6/pkgs/03 | 4 ++++ distrib/sl6/yum.repos.d/sl.repo | 34 ++++++++++++++++++++++++++++++++++ distrib/sl6/yum/yum.conf | 11 +++++++++++ 6 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 distrib/sl6/pkgs/01 create mode 100644 distrib/sl6/pkgs/02 create mode 100644 distrib/sl6/pkgs/03 create mode 100644 distrib/sl6/yum.repos.d/sl.repo create mode 100644 distrib/sl6/yum/yum.conf diff --git a/distrib/Makefile.am b/distrib/Makefile.am index 83fd9a0..1f159b8 100644 --- a/distrib/Makefile.am +++ b/distrib/Makefile.am @@ -91,6 +91,8 @@ nobase_distrib_DATA = defaults/devs \ centos4/yum/yum.conf $(wildcard $(srcdir)/centos4/yum.repos.d/*.repo) \ centos5/pkgs/01 centos5/pkgs/02 centos5/pkgs/03 \ centos5/yum/yum.conf $(wildcard $(srcdir)/centos5/yum.repos.d/*.repo) \ + sl6/pkgs/01 sl6/pkgs/02 sl6/pkgs/03 \ + sl6/yum/yum.conf $(wildcard $(scrdir)/sl6/yum.repos.d/*.repo) \ suse91/apt/rpmpriorities suse91/pkgs/01 suse91/pkgs/02 \ suse91/rpm/macros \ gentoo/init-vserver.sh gentoo/net.vserver \ @@ -114,7 +116,7 @@ EXTRA_DIST = $(nobase_distrib_DATA) \ $(nobase_confdistrib_DATA) \ $(defaults_DATA) -redhat_style = rh9 fc1 fc2 fc3 fc4 fc5 fc6 f7 f8 f9 f10 f11 f12 f13 f14 centos4 centos5 +redhat_style = rh9 fc1 fc2 fc3 fc4 fc5 fc6 f7 f8 f9 f10 f11 f12 f13 f14 centos4 centos5 sl6 sid_style = etch lenny squeeze wheezy sid install-exec-hook: install-notify-xtra diff --git a/distrib/sl6/pkgs/01 b/distrib/sl6/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/sl6/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/sl6/pkgs/02 b/distrib/sl6/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/sl6/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/sl6/pkgs/03 b/distrib/sl6/pkgs/03 new file mode 100644 index 0000000..2b7acc6 --- /dev/null +++ b/distrib/sl6/pkgs/03 @@ -0,0 +1,4 @@ +coreutils +setup +initscripts +rsyslog diff --git a/distrib/sl6/yum.repos.d/sl.repo b/distrib/sl6/yum.repos.d/sl.repo new file mode 100644 index 0000000..6db4a7c --- /dev/null +++ b/distrib/sl6/yum.repos.d/sl.repo @@ -0,0 +1,34 @@ +[sl] +name=Scientific Linux 6 - $basearch +baseurl=http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/ + http://ftp1.scientificlinux.org/linux/scientific/6/$basearch/os/ + http://ftp2.scientificlinux.org/linux/scientific/6/$basearch/os/ + ftp://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/ +#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-base-6.txt +enabled=1 +gpgcheck=1 +gpgkey=http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/RPM-GPG-KEY-sl http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/RPM-GPG-KEY-sl6 + +[sl-security] +name=Scientific Linux 6 - $basearch - security updates +baseurl=http://ftp.scientificlinux.org/linux/scientific/6/$basearch/updates/security/ + http://ftp1.scientificlinux.org/linux/scientific/6/$basearch/updates/security/ + http://ftp2.scientificlinux.org/linux/scientific/6/$basearch/updates/security/ + ftp://ftp.scientificlinux.org/linux/scientific/6/$basearch/updates/security/ +#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-security-6.txt +enabled=1 +gpgcheck=1 +gpgkey=http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/RPM-GPG-KEY-sl http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/RPM-GPG-KEY-sl6 + + +[sl-source] +name=Scientific Linux 6 - Source +baseurl=http://ftp.scientificlinux.org/linux/scientific/6/SRPMS/ + http://ftp1.scientificlinux.org/linux/scientific/6/SRPMS/ + http://ftp2.scientificlinux.org/linux/scientific/6/SRPMS/ + ftp://ftp.scientificlinux.org/linux/scientific/6/SRPMS/ +enabled=0 +gpgcheck=1 +gpgkey=http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/RPM-GPG-KEY-sl http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/RPM-GPG-KEY-sl6 + + diff --git a/distrib/sl6/yum/yum.conf b/distrib/sl6/yum/yum.conf new file mode 100644 index 0000000..b1d4d79 --- /dev/null +++ b/distrib/sl6/yum/yum.conf @@ -0,0 +1,11 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=sl-release +installonlypkgs= +exactarch=0 +persistdir=@YUMLIBDIR@ -- 1.8.1.5