diff options
36 files changed, 706 insertions, 2 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Distro/Scilin.pm b/boot-env/OpenSLX/MakeInitRamFS/Distro/Scilin.pm index 1d27c0ce..87585160 100644 --- a/boot-env/OpenSLX/MakeInitRamFS/Distro/Scilin.pm +++ b/boot-env/OpenSLX/MakeInitRamFS/Distro/Scilin.pm @@ -50,7 +50,9 @@ sub determineMatchingHwinfoVersion my %versionMap = ( '4.7' => '13.11', - '5.1' => '15.3', + '5.3' => '15.3', + '5.4' => '15.21', + '5.5' => '15.21', ); return $versionMap{$distroVersion} || $self->SUPER::determineMatchingHwinfoVersion($distroVersion); diff --git a/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm b/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm index 1628c5f1..2f5b8df4 100644 --- a/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm +++ b/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm @@ -53,6 +53,7 @@ sub determineMatchingHwinfoVersion '11.0' => '15.3', '11.1' => '15.21', '11.2' => '15.21' + '11.3' => '15.21' ); return $versionMap{$distroVersion} || $self->SUPER::determineMatchingHwinfoVersion($distroVersion); diff --git a/initramfs/distro-specs/scilin/functions-5.4 b/initramfs/distro-specs/scilin/functions-5.4 new file mode 100644 index 00000000..1548ab9a --- /dev/null +++ b/initramfs/distro-specs/scilin/functions-5.4 @@ -0,0 +1,42 @@ +# 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) + +# initial (boot time) runlevel scripts +initial_boot () { +# delete all classical disk base rootfs stuff from rc.sysinit +sed -e "6i# Script modified by $0 during stage3 bootup." \ + -e "/relabel_se/,/^}/d" \ + -e "/# Start up swap/,/# Set up bin/d" \ + -e "/^remount_needed/,/^fi$/d" -e "/^# Clean out/,/in_sysinit/d" \ + -e "/# Mount all o/,/# Start the g/d" \ + -e "/# Boot time/,/# let's/d" -i /mnt/etc/rc.d/rc.sysinit +# delete all classical disk base rootfs stuff from halt +sed -e "7i# Modified by $0 during stage3 bootup." \ + -e "/# Save mixer/,/Saving random/d" -e "/quotaoff/,/^# Now halt/d" \ + -i /mnt/etc/init.d/halt +# boot.slx is a special runlevel script generated within initialramfs which +# should be executed before the normal runlevel scripts. +echo -e "# Run OpenSLX init runlevel script\n/etc/init.d/boot.slx" \ + >>/mnt/etc/rc.d/rc.sysinit +# switch off SElinux enforcing +sed -e "1i# Configuration modified by $0 during stage3 bootup." \ + -e "s/SELINUX=.*/SELINUX=permissive/" -i /mnt/etc/selinux/config +# switch off display manager start via inittab +sed -e "s/x:5:re.*/# line deleted in stage3, re-enable via desktop plugin/" \ + -i /mnt/etc/inittab +# link halt and reboot scripts +ln -s ../init.d/killall /mnt/etc/rc.d/rc0.d/S00killall +ln -s ../init.d/halt /mnt/etc/rc.d/rc0.d/S01halt +ln -s ../init.d/killall /mnt/etc/rc.d/rc6.d/S00killall +ln -s ../init.d/halt /mnt/etc/rc.d/rc6.d/S01reboot +} diff --git a/initramfs/distro-specs/scilin/functions-5.5 b/initramfs/distro-specs/scilin/functions-5.5 new file mode 100644 index 00000000..1548ab9a --- /dev/null +++ b/initramfs/distro-specs/scilin/functions-5.5 @@ -0,0 +1,42 @@ +# 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) + +# initial (boot time) runlevel scripts +initial_boot () { +# delete all classical disk base rootfs stuff from rc.sysinit +sed -e "6i# Script modified by $0 during stage3 bootup." \ + -e "/relabel_se/,/^}/d" \ + -e "/# Start up swap/,/# Set up bin/d" \ + -e "/^remount_needed/,/^fi$/d" -e "/^# Clean out/,/in_sysinit/d" \ + -e "/# Mount all o/,/# Start the g/d" \ + -e "/# Boot time/,/# let's/d" -i /mnt/etc/rc.d/rc.sysinit +# delete all classical disk base rootfs stuff from halt +sed -e "7i# Modified by $0 during stage3 bootup." \ + -e "/# Save mixer/,/Saving random/d" -e "/quotaoff/,/^# Now halt/d" \ + -i /mnt/etc/init.d/halt +# boot.slx is a special runlevel script generated within initialramfs which +# should be executed before the normal runlevel scripts. +echo -e "# Run OpenSLX init runlevel script\n/etc/init.d/boot.slx" \ + >>/mnt/etc/rc.d/rc.sysinit +# switch off SElinux enforcing +sed -e "1i# Configuration modified by $0 during stage3 bootup." \ + -e "s/SELINUX=.*/SELINUX=permissive/" -i /mnt/etc/selinux/config +# switch off display manager start via inittab +sed -e "s/x:5:re.*/# line deleted in stage3, re-enable via desktop plugin/" \ + -i /mnt/etc/inittab +# link halt and reboot scripts +ln -s ../init.d/killall /mnt/etc/rc.d/rc0.d/S00killall +ln -s ../init.d/halt /mnt/etc/rc.d/rc0.d/S01halt +ln -s ../init.d/killall /mnt/etc/rc.d/rc6.d/S00killall +ln -s ../init.d/halt /mnt/etc/rc.d/rc6.d/S01reboot +} diff --git a/initramfs/distro-specs/suse/functions-11.3 b/initramfs/distro-specs/suse/functions-11.3 new file mode 100644 index 00000000..4eac33a0 --- /dev/null +++ b/initramfs/distro-specs/suse/functions-11.3 @@ -0,0 +1,97 @@ +# Copyright (c) 2010 - OpenSLX GmbH +# +# This program/file 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 under http://openslx.org +# +# configuration script for OpenSuSE 11.2 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 + +# settings of central variables (formerly done via config-*, these variables +# are disputable ...) +# D_DIRINBINDMNT - lists of directories to be created in bind mounted rw +# part of the client filesystem +# D_RODIRSINRW - ReadOnly Directories in RW part of filesystem to save on +# TempFS usage +# D_DIRINDXS - directories in client filesystem which should be present +# anyhow +# +# TODO: id. copy of functions-11.2 to be adapted to 11.3 + +# start portmapper (needed at least for nfs and nis services) +config_portmap () { +# portmap is provided via rpcbind in suse 11.1,2,3 +testmkd /mnt/var/lib/rpcbind +rllinker "rpcbind" 4 5 +} +# acpi and powersave daemons, required e.g. to shutdown the machine via +# power button, no need for early start +config_acpi () { +rllinker acpid 22 12 +# dbus is required to run acpid and powersaved +start_dreshal="yes" +} +# configure dbus (inter application communication for kde and gnome), hal +# (hardware abstraction layer - used e.g. by powersaved) +config_dreshal () { +local start=1 +local stop=10 +if [ "x$start_dreshal" = "xyes" ]; then + for dir in /var/lib/misc /var/run/ConsoleKit \ + "/var/run/PolicyKit polkituser:polkituser" \ + "/var/lib/PolicyKit polkituser:polkituser" \ + "/var/run/dbus/at_console/pool"; do + testmkd /mnt${dir} + done + # enable access to removable devices + sed -i /mnt/etc/PolicyKit/PolicyKit.conf \ + -e "s/\(<\/config>\)/ @@new@@\n\1/" \ + -e "s/@@new@@/<match action=\"@@action@@\">\n@@return@@\n <\/match>/" \ + -e "s/@@action@@/org.freedesktop.hal.storage.mount-removable/" \ + -e "s/@@return@@/ <return result=\"yes\"\/>/" + + if [ -f /mnt/etc/init.d/dbus ] ; then + strinfile "messagebus:" /mnt/etc/passwd || \ + echo "messagebus:x:102:103:User for D-BUS:/var/run/dbus:/bin/false" \ + >> /mnt/etc/passwd + strinfile "messagebus:" /mnt/etc/group || \ + echo "messagebus:!:103:" >> /mnt/etc/group + # create directories and set permissions with user and group id + testmkd /mnt/var/run/dbus messagebus:messagebus + testmkd /mnt/var/lib/dbus + # console-kit-daemon is often not started properly (why ever) + sed -i /mnt/etc/init.d/dbus \ + -e '/start_daemon -f $DBUS_D/a\ +\ \ \ \ \ \ \ \ start_daemon -f /usr/sbin/console-kit-daemon' + + rm -rf /mnt/etc/dbus-1/system.d/*etwork*anager.conf \ + /mnt/etc/dbus-1/system.d/nm-* \ + /mnt/etc/dbus-1/event.d/*NetworkManager* + + rllinker "dbus" $start $stop + fi + if [ -f /mnt/etc/init.d/haldaemon ] ; then + strinfile "haldaemon:" /mnt/etc/passwd || \ + echo "haldaemon:x:106:107:User for haldaemon:/var/run/hal:/bin/false" \ + >> /mnt/etc/passwd + strinfile "haldaemon:" /mnt/etc/group || \ + echo "haldaemon:!:107:" >> /mnt/etc/group + echo -n "" >/mnt/var/lib/misc/PolicyKit.reload + chmod a+x /mnt/var/lib/misc/PolicyKit.reload + # create directories and set permissions with user and group id + for dir in /var/run/hald /var/run/hald/hald-local \ + /var/run/hald/hald-runner /var/cache/hald; do + testmkd /mnt/${dir} haldaemon:haldaemon + done + start=$(($start + 1)) + stop=$(($stop - 1)) + rllinker "haldaemon" $start $stop + fi +fi +} diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index 72e8c7e8..3531e92d 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -58,8 +58,12 @@ use vars qw(%supportedDistros); 'suse-11.1_x86_64' => 'clone,update,shell', 'suse-11.2' => 'clone,install,update,shell', 'suse-11.2_x86_64' => 'clone,update,shell', + 'suse-11.3' => 'clone,update,shell', + 'suse-11.3_x86_64' => 'clone,update,shell', 'scilin-4.7' => 'clone,update,shell', 'scilin-5.3' => 'clone,update,shell', + 'scilin-5.4_x86_64' => 'clone,update,shell', + 'scilin-5.5_x86_64' => 'clone,update,shell', 'ubuntu-8.04' => 'clone,install,update,shell', 'ubuntu-8.04_amd64' => 'clone,update,shell', 'ubuntu-8.10' => 'clone,install,update,shell', diff --git a/lib/distro-info/scilin-5.3/settings.default b/lib/distro-info/scilin-5.3/settings.default index dfd7f7c7..9f964927 100644 --- a/lib/distro-info/scilin-5.3/settings.default +++ b/lib/distro-info/scilin-5.3/settings.default @@ -11,7 +11,7 @@ prereq-packages = <<END to-be-filled-in (List of needed RPMs) END <repository base> - name = Scientific Linux 5.1 + name = Scientific Linux 5.3 repo-subdir = ? file-for-speedtest = ? </repository> diff --git a/lib/distro-info/scilin-5.4/export-filter.example b/lib/distro-info/scilin-5.4/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/scilin-5.4/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.4/prereqfiles/etc/group b/lib/distro-info/scilin-5.4/prereqfiles/etc/group new file mode 100644 index 00000000..505cb221 --- /dev/null +++ b/lib/distro-info/scilin-5.4/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.4/prereqfiles/etc/hosts b/lib/distro-info/scilin-5.4/prereqfiles/etc/hosts new file mode 100644 index 00000000..75721cd5 --- /dev/null +++ b/lib/distro-info/scilin-5.4/prereqfiles/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/lib/distro-info/scilin-5.4/prereqfiles/etc/passwd b/lib/distro-info/scilin-5.4/prereqfiles/etc/passwd new file mode 100644 index 00000000..9b8fc4fe --- /dev/null +++ b/lib/distro-info/scilin-5.4/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.4/prereqfiles/etc/shadow b/lib/distro-info/scilin-5.4/prereqfiles/etc/shadow new file mode 100644 index 00000000..cd100a5a --- /dev/null +++ b/lib/distro-info/scilin-5.4/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.4/settings.default b/lib/distro-info/scilin-5.4/settings.default new file mode 100644 index 00000000..5b86aab9 --- /dev/null +++ b/lib/distro-info/scilin-5.4/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.4 + 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.4/settings.example b/lib/distro-info/scilin-5.4/settings.example new file mode 100644 index 00000000..5ae02428 --- /dev/null +++ b/lib/distro-info/scilin-5.4/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> diff --git a/lib/distro-info/scilin-5.4_x86_64/export-filter.example b/lib/distro-info/scilin-5.4_x86_64/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/scilin-5.4_x86_64/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.4_x86_64/prereqfiles/etc/group b/lib/distro-info/scilin-5.4_x86_64/prereqfiles/etc/group new file mode 100644 index 00000000..505cb221 --- /dev/null +++ b/lib/distro-info/scilin-5.4_x86_64/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.4_x86_64/prereqfiles/etc/hosts b/lib/distro-info/scilin-5.4_x86_64/prereqfiles/etc/hosts new file mode 100644 index 00000000..75721cd5 --- /dev/null +++ b/lib/distro-info/scilin-5.4_x86_64/prereqfiles/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/lib/distro-info/scilin-5.4_x86_64/prereqfiles/etc/passwd b/lib/distro-info/scilin-5.4_x86_64/prereqfiles/etc/passwd new file mode 100644 index 00000000..9b8fc4fe --- /dev/null +++ b/lib/distro-info/scilin-5.4_x86_64/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.4_x86_64/prereqfiles/etc/shadow b/lib/distro-info/scilin-5.4_x86_64/prereqfiles/etc/shadow new file mode 100644 index 00000000..cd100a5a --- /dev/null +++ b/lib/distro-info/scilin-5.4_x86_64/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.4_x86_64/settings.default b/lib/distro-info/scilin-5.4_x86_64/settings.default new file mode 100644 index 00000000..fdc4f5f4 --- /dev/null +++ b/lib/distro-info/scilin-5.4_x86_64/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.4 64Bit + 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.4_x86_64/settings.example b/lib/distro-info/scilin-5.4_x86_64/settings.example new file mode 100644 index 00000000..5ae02428 --- /dev/null +++ b/lib/distro-info/scilin-5.4_x86_64/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> diff --git a/lib/distro-info/scilin-5.5/export-filter.example b/lib/distro-info/scilin-5.5/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/scilin-5.5/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.5/prereqfiles/etc/group b/lib/distro-info/scilin-5.5/prereqfiles/etc/group new file mode 100644 index 00000000..505cb221 --- /dev/null +++ b/lib/distro-info/scilin-5.5/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.5/prereqfiles/etc/hosts b/lib/distro-info/scilin-5.5/prereqfiles/etc/hosts new file mode 100644 index 00000000..75721cd5 --- /dev/null +++ b/lib/distro-info/scilin-5.5/prereqfiles/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/lib/distro-info/scilin-5.5/prereqfiles/etc/passwd b/lib/distro-info/scilin-5.5/prereqfiles/etc/passwd new file mode 100644 index 00000000..9b8fc4fe --- /dev/null +++ b/lib/distro-info/scilin-5.5/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.5/prereqfiles/etc/shadow b/lib/distro-info/scilin-5.5/prereqfiles/etc/shadow new file mode 100644 index 00000000..cd100a5a --- /dev/null +++ b/lib/distro-info/scilin-5.5/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.5/settings.default b/lib/distro-info/scilin-5.5/settings.default new file mode 100644 index 00000000..29996f63 --- /dev/null +++ b/lib/distro-info/scilin-5.5/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.5 + 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.5/settings.example b/lib/distro-info/scilin-5.5/settings.example new file mode 100644 index 00000000..5ae02428 --- /dev/null +++ b/lib/distro-info/scilin-5.5/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> diff --git a/lib/distro-info/scilin-5.5_x86_64/export-filter.example b/lib/distro-info/scilin-5.5_x86_64/export-filter.example new file mode 100644 index 00000000..a414fef4 --- /dev/null +++ b/lib/distro-info/scilin-5.5_x86_64/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.5_x86_64/prereqfiles/etc/group b/lib/distro-info/scilin-5.5_x86_64/prereqfiles/etc/group new file mode 100644 index 00000000..505cb221 --- /dev/null +++ b/lib/distro-info/scilin-5.5_x86_64/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.5_x86_64/prereqfiles/etc/hosts b/lib/distro-info/scilin-5.5_x86_64/prereqfiles/etc/hosts new file mode 100644 index 00000000..75721cd5 --- /dev/null +++ b/lib/distro-info/scilin-5.5_x86_64/prereqfiles/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/lib/distro-info/scilin-5.5_x86_64/prereqfiles/etc/passwd b/lib/distro-info/scilin-5.5_x86_64/prereqfiles/etc/passwd new file mode 100644 index 00000000..9b8fc4fe --- /dev/null +++ b/lib/distro-info/scilin-5.5_x86_64/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.5_x86_64/prereqfiles/etc/shadow b/lib/distro-info/scilin-5.5_x86_64/prereqfiles/etc/shadow new file mode 100644 index 00000000..cd100a5a --- /dev/null +++ b/lib/distro-info/scilin-5.5_x86_64/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.5_x86_64/settings.default b/lib/distro-info/scilin-5.5_x86_64/settings.default new file mode 100644 index 00000000..7c0f832b --- /dev/null +++ b/lib/distro-info/scilin-5.5_x86_64/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.5 64Bit + 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.5_x86_64/settings.example b/lib/distro-info/scilin-5.5_x86_64/settings.example new file mode 100644 index 00000000..5ae02428 --- /dev/null +++ b/lib/distro-info/scilin-5.5_x86_64/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> diff --git a/systemtools/updateDistroInfo.suse b/systemtools/updateDistroInfo.suse index 025f102d..b877ab55 100755 --- a/systemtools/updateDistroInfo.suse +++ b/systemtools/updateDistroInfo.suse @@ -57,6 +57,26 @@ my @supportedVersions = ( packageKeysLocation => 'http://download.opensuse.org/distribution/11.1/repo/oss/' } + { + ver => + '11.2', + source => + 'http://mirrors.opensuse.org/list/11.2.html', + supporedArch => + 'i586 x86_64', + packageKeysLocation => + 'http://download.opensuse.org/distribution/11.2/repo/oss/' + } + { + ver => + '11.3', + source => + 'http://mirrors.opensuse.org/list/11.3.html', + supporedArch => + 'i586 x86_64', + packageKeysLocation => + 'http://download.opensuse.org/distribution/11.3/repo/oss/' + } ); my %sourceLists = ( |