diff options
author | Dirk von Suchodoletz | 2009-02-14 19:30:29 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-02-14 19:30:29 +0100 |
commit | 15be3f4426701f7505a50400f801c2771f978cde (patch) | |
tree | 103879a1e32816d03dc2e5ae8faaf99ae267cc39 | |
parent | * fix for suse 11.1: portmap is now provided by rpcbind (diff) | |
download | core-15be3f4426701f7505a50400f801c2771f978cde.tar.gz core-15be3f4426701f7505a50400f801c2771f978cde.tar.xz core-15be3f4426701f7505a50400f801c2771f978cde.zip |
Basic (yet incomplete) integration steps for Scientific Linux 5.1
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2576 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r-- | initramfs/distro-specs/scilin/functions-5.1 | 15 | ||||
-rw-r--r-- | initramfs/distro-specs/suse/functions-11.1 | 10 | ||||
-rw-r--r-- | installer/OpenSLX/OSSetup/Engine.pm | 2 | ||||
-rw-r--r-- | lib/distro-info/scilin-5.1/export-filter.example | 15 | ||||
-rw-r--r-- | lib/distro-info/scilin-5.1/prereqfiles/etc/group | 33 | ||||
-rw-r--r-- | lib/distro-info/scilin-5.1/prereqfiles/etc/hosts | 1 | ||||
-rw-r--r-- | lib/distro-info/scilin-5.1/prereqfiles/etc/passwd | 14 | ||||
-rw-r--r-- | lib/distro-info/scilin-5.1/prereqfiles/etc/shadow | 14 | ||||
-rw-r--r-- | lib/distro-info/scilin-5.1/settings.default | 30 | ||||
-rw-r--r-- | lib/distro-info/scilin-5.1/settings.example | 17 |
10 files changed, 142 insertions, 9 deletions
diff --git a/initramfs/distro-specs/scilin/functions-5.1 b/initramfs/distro-specs/scilin/functions-5.1 new file mode 100644 index 00000000..d02268b2 --- /dev/null +++ b/initramfs/distro-specs/scilin/functions-5.1 @@ -0,0 +1,15 @@ +# Copyright (c) 2009 - RZ Uni Freiburg +# +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your feedback to feedback@openslx.org +# +# General information about OpenSLX can be found at http://openslx.org +# +# Configuration script for Scientific Linux (5.1) to setup linux stateless +# clients (executed within initial ramfs) + +# place all changed functions differing from default here + diff --git a/initramfs/distro-specs/suse/functions-11.1 b/initramfs/distro-specs/suse/functions-11.1 index 67c84289..d387b551 100644 --- a/initramfs/distro-specs/suse/functions-11.1 +++ b/initramfs/distro-specs/suse/functions-11.1 @@ -9,7 +9,7 @@ # # General information about OpenSLX can be found under http://openslx.org # -# configuration script for OpenSuSE 10.3 to configure linux stateless clients +# configuration script for OpenSuSE 11.1 to configure linux stateless clients # (included by init, hwautocfg, servconfig within InitialRamFS after # inclusion of the main functions file). This file is the main base for the # several SuSE distro versions @@ -23,15 +23,9 @@ # D_DIRINDXS - directories in client filesystem which should be present # anyhow -config_rpcbind () { - rllinker "rpcbind" 4 5 -} - # start portmapper (needed at least for nfs and nis services) config_portmap () { # portmap is provided via rpcbind in suse 11.1 - config_rpcbind + rllinker "rpcbind" 4 5 } - -# no changes from functions-default by now diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index ea17666b..0feb1ba6 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -56,7 +56,7 @@ use vars qw(%supportedDistros); 'suse-11.1' => 'clone,update,shell', 'suse-11.1_x86_64' => 'clone,update,shell', 'scilin-4.7' => 'clone,update,shell', - 'scilin-5.X' => 'clone,update,shell', + 'scilin-5.1' => 'clone,update,shell', 'ubuntu-7.10' => 'clone,update,shell', 'ubuntu-7.10_amd64' => 'clone,update,shell', 'ubuntu-8.04' => 'clone,update,shell', diff --git a/lib/distro-info/scilin-5.1/export-filter.example b/lib/distro-info/scilin-5.1/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/scilin-5.1/export-filter.example @@ -0,0 +1,15 @@ +# this file defines the filter rules used when exporting a vendor-OS +# of this distro +# +# copy this file to 'export-filter' and add your own filters to it +# in order to overrule the filters provided by openslx +# +#Examples: +# the following line would include anything below /var/spool/ +#+ /var/spool/* +# +# this would exclude anything in /etc that starts with dhcpd.conf +#- /etc/dhcpd.conf* +# +# and this would exclude all rpmnew-files: +#- *.rpmnew diff --git a/lib/distro-info/scilin-5.1/prereqfiles/etc/group b/lib/distro-info/scilin-5.1/prereqfiles/etc/group new file mode 100644 index 00000000..505cb221 --- /dev/null +++ b/lib/distro-info/scilin-5.1/prereqfiles/etc/group @@ -0,0 +1,33 @@ +root:x:0: +bin:x:1:daemon +daemon:x:2: +sys:x:3: +tty:x:5: +disk:x:6: +lp:x:7: +www:x:8: +kmem:x:9: +wheel:x:10: +mail:x:12: +news:x:13: +uucp:x:14: +shadow:x:15: +dialout:x:16: +audio:x:17: +floppy:x:19: +cdrom:x:20: +console:x:21: +utmp:x:22: +public:x:32: +video:x:33: +games:x:40: +xok:x:41: +trusted:x:42: +modem:x:43: +ftp:x:49: +man:x:62: +users:x:100: +nobody:x:65533: +nogroup:x:65534:nobody +messagebus:!:101: +haldaemon:!:102: diff --git a/lib/distro-info/scilin-5.1/prereqfiles/etc/hosts b/lib/distro-info/scilin-5.1/prereqfiles/etc/hosts new file mode 100644 index 00000000..75721cd5 --- /dev/null +++ b/lib/distro-info/scilin-5.1/prereqfiles/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/lib/distro-info/scilin-5.1/prereqfiles/etc/passwd b/lib/distro-info/scilin-5.1/prereqfiles/etc/passwd new file mode 100644 index 00000000..9b8fc4fe --- /dev/null +++ b/lib/distro-info/scilin-5.1/prereqfiles/etc/passwd @@ -0,0 +1,14 @@ +root:x:0:0:root:/root:/bin/bash +bin:x:1:1:bin:/bin:/bin/bash +daemon:x:2:2:Daemon:/sbin:/bin/bash +lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash +mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false +news:x:9:13:News system:/etc/news:/bin/bash +uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash +games:x:12:100:Games account:/var/games:/bin/bash +man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash +wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false +ftp:x:40:49:FTP account:/srv/ftp:/bin/bash +nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash +messagebus:x:100:101:User for D-Bus:/var/run/dbus:/bin/false +haldaemon:x:101:102:User for haldaemon:/var/run/hal:/bin/false diff --git a/lib/distro-info/scilin-5.1/prereqfiles/etc/shadow b/lib/distro-info/scilin-5.1/prereqfiles/etc/shadow new file mode 100644 index 00000000..cd100a5a --- /dev/null +++ b/lib/distro-info/scilin-5.1/prereqfiles/etc/shadow @@ -0,0 +1,14 @@ +root::13481:::::: +bin:*:13481:::::: +daemon:*:13481:::::: +lp:*:13481:::::: +mail:*:13481:::::: +news:*:13481:::::: +uucp:*:13481:::::: +games:*:13481:::::: +man:*:13481:::::: +wwwrun:*:13481:::::: +ftp:*:13481:::::: +nobody:*:13481:::::: +messagebus:!:13481:0::7::: +haldaemon:!:13481:0::7::: diff --git a/lib/distro-info/scilin-5.1/settings.default b/lib/distro-info/scilin-5.1/settings.default new file mode 100644 index 00000000..dfd7f7c7 --- /dev/null +++ b/lib/distro-info/scilin-5.1/settings.default @@ -0,0 +1,30 @@ +bootstrap-packages = <<END + to-be-filled-in (List of base RPMs) +END +<metapackager yum> + packages = <<END + to-be-filled-in (List of RPMs for the YUM packager) + END +</metapackager> +package-subdir = ??? +prereq-packages = <<END + to-be-filled-in (List of needed RPMs) +END +<repository base> + name = Scientific Linux 5.1 + repo-subdir = ? + file-for-speedtest = ? +</repository> +<selection minimal> + packages = <<END + glibc-locale + END +</selection> +<selection kde> + base = minimal + packages = <<END + END +</selection> +<selection default> + base = minimal +</selection> diff --git a/lib/distro-info/scilin-5.1/settings.example b/lib/distro-info/scilin-5.1/settings.example new file mode 100644 index 00000000..5ae02428 --- /dev/null +++ b/lib/distro-info/scilin-5.1/settings.example @@ -0,0 +1,17 @@ +# rename this file to 'settings' and edit it as you please +# +# for a list of all options, have a look at the corresponding +# settings.default in /opt/openslx/share/distro-info + +# use local installation source +#<repository base> +# local-url = /srv/ftp/pub/some-distribution/inst-source +#</repository> + +# add a new selection: +#<selection my_number_crunsher> +# base = minimal +# packages = <<END +# crunsher_app +# END +#</selection> |