diff options
| author | Lars Müller | 2006-12-15 20:15:22 +0100 |
|---|---|---|
| committer | Lars Müller | 2006-12-15 20:15:22 +0100 |
| commit | 602a0ca8eb7433f6067ed65cee0bc5bbfdcfb26b (patch) | |
| tree | 5d3386baa3cf52052dac1d57fadb55a14ffaa0d9 /installer/systems | |
| parent | Added new busybox in new place (tools, Makefile, ...) Busybox has (diff) | |
| download | core-602a0ca8eb7433f6067ed65cee0bc5bbfdcfb26b.tar.gz core-602a0ca8eb7433f6067ed65cee0bc5bbfdcfb26b.tar.xz core-602a0ca8eb7433f6067ed65cee0bc5bbfdcfb26b.zip | |
slxossetup is a prototype of an OS setup script. At the moment
slxossetup is able to install openSUSE 10.2 from any installation source
useable by smart.
See the example from systems/opensuse102/settings. This file is
intended to be installed as the default. As with the config demuxer
we're able to apply local settings in settings.local.
As I did not find a way to create base files out of shell variables I
added a hack to copy template files.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@537 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/systems')
| -rw-r--r-- | installer/systems/README | 10 | ||||
| -rw-r--r-- | installer/systems/opensuse102/BASE_FILE_etc__group | 33 | ||||
| -rw-r--r-- | installer/systems/opensuse102/BASE_FILE_etc__passwd | 14 | ||||
| -rw-r--r-- | installer/systems/opensuse102/BASE_FILE_etc__shadow | 14 | ||||
| -rw-r--r-- | installer/systems/opensuse102/settings | 16 | ||||
| -rw-r--r-- | installer/systems/opensuse102/settings.local | 12 |
6 files changed, 99 insertions, 0 deletions
diff --git a/installer/systems/README b/installer/systems/README new file mode 100644 index 00000000..ae3a7a63 --- /dev/null +++ b/installer/systems/README @@ -0,0 +1,10 @@ +In this sub directory of /etc/opt/openslx/ we store the configuration files +for operating systems installed with slxossetup. + +Any file named BASE_FILE_* is installed into the destination directory before +any package install action takes place. + +Therfore the suffix of BASE_FILE has the destination path encoded in the +filename. Any __ is replaced by a single /. Therfore BASE_FILE_etc__passwd +for example will be copied to the destination, stage1 directory, +/var/opt/openslx/stage1/<system-name>/etc/passwd diff --git a/installer/systems/opensuse102/BASE_FILE_etc__group b/installer/systems/opensuse102/BASE_FILE_etc__group new file mode 100644 index 00000000..505cb221 --- /dev/null +++ b/installer/systems/opensuse102/BASE_FILE_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/installer/systems/opensuse102/BASE_FILE_etc__passwd b/installer/systems/opensuse102/BASE_FILE_etc__passwd new file mode 100644 index 00000000..9b8fc4fe --- /dev/null +++ b/installer/systems/opensuse102/BASE_FILE_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/installer/systems/opensuse102/BASE_FILE_etc__shadow b/installer/systems/opensuse102/BASE_FILE_etc__shadow new file mode 100644 index 00000000..cd100a5a --- /dev/null +++ b/installer/systems/opensuse102/BASE_FILE_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/installer/systems/opensuse102/settings b/installer/systems/opensuse102/settings new file mode 100644 index 00000000..4b899014 --- /dev/null +++ b/installer/systems/opensuse102/settings @@ -0,0 +1,16 @@ +SLX_INST_SOURCE_BASEURL_opensuse102="http://ftp.gwdg.de/pub/opensuse/distribution/10.2/repo/oss" +SLX_INST_SOURCE_PACKAGEKEYS_opensuse102=" +gpg-pubkey-0dfb3188-41ed929b.asc +gpg-pubkey-307e3d54-44201d5d.asc +gpg-pubkey-3d25d3d9-36e12d04.asc +gpg-pubkey-7e2e3b05-44748aba.asc +gpg-pubkey-9c800aca-40d8063e.asc +gpg-pubkey-a1912208-446a0899.asc +" +SLX_INST_SOURCE_NAME_opensuse102="openSUSE 10.2" +SLX_INST_SOURCE_TYPE_opensuse102="yast2" +SLX_INST_SOURCE_BASEURL_opensuse102update="http://ftp.gwdg.de/pub/suse/update/10.2" +SLX_INST_SOURCE_NAME_opensuse102update="openSUSE 10.2 updates" +SLX_INST_SOURCE_TYPE_opensuse102update="rpm-md" +SLX_BASE_PREREQ_PACKAGES="glibc" +SLX_INSTALL_PACKAGES_MAIN="kernel-default bash" diff --git a/installer/systems/opensuse102/settings.local b/installer/systems/opensuse102/settings.local new file mode 100644 index 00000000..01cb8aa3 --- /dev/null +++ b/installer/systems/opensuse102/settings.local @@ -0,0 +1,12 @@ +# Settings made here overwrite values from the settings file in the same +# directory. +# It's also possible to define addditional values here. + +# Use a local installation source. +SLX_INST_SOURCE_BASEURL_opensuse102="ftp://gab/pub/opensuse/distribution/10.2/repo/oss" +SLX_INST_SOURCE_BASEURL_opensuse102update="ftp://gab/pub/suse/update/10.2" +# Add more packages. +# It's possible to habe more than one SLX_INSTALL_PACKAGES_* variable defined. +# All SLX_INSTALL_PACKAGES_* are combined to one package list which is +# in one step. +SLX_INSTALL_PACKAGES_KDEPIM="kdepim3" |
