summaryrefslogtreecommitdiffstats
path: root/installer/systems
diff options
context:
space:
mode:
authorLars Müller2006-12-16 20:43:27 +0100
committerLars Müller2006-12-16 20:43:27 +0100
commitbdb8a65f2fc72ab1bc4d96073858824502a0b331 (patch)
treeb6f99d7378e826a2709ba2752f3d0f115245f432 /installer/systems
parentAlways prefix SLX_STAGE1_PATH if we cleanup the chroot. (diff)
downloadcore-bdb8a65f2fc72ab1bc4d96073858824502a0b331.tar.gz
core-bdb8a65f2fc72ab1bc4d96073858824502a0b331.tar.xz
core-bdb8a65f2fc72ab1bc4d96073858824502a0b331.zip
Use a prereqfiles sub directory instead of the BASE_FILE_ hack.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@556 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/systems')
-rw-r--r--installer/systems/README9
-rw-r--r--installer/systems/opensuse102/prereqfiles/etc/group (renamed from installer/systems/opensuse102/BASE_FILE_etc__group)0
-rw-r--r--installer/systems/opensuse102/prereqfiles/etc/passwd (renamed from installer/systems/opensuse102/BASE_FILE_etc__passwd)0
-rw-r--r--installer/systems/opensuse102/prereqfiles/etc/shadow (renamed from installer/systems/opensuse102/BASE_FILE_etc__shadow)0
-rwxr-xr-xinstaller/systems/opensuse102/scripts/postprereq5
-rw-r--r--installer/systems/suse100/prereqfiles/etc/group (renamed from installer/systems/suse100/BASE_FILE_etc__group)0
-rw-r--r--installer/systems/suse100/prereqfiles/etc/passwd (renamed from installer/systems/suse100/BASE_FILE_etc__passwd)0
-rw-r--r--installer/systems/suse100/prereqfiles/etc/shadow (renamed from installer/systems/suse100/BASE_FILE_etc__shadow)0
-rwxr-xr-xinstaller/systems/suse100/scripts/postprereq5
-rw-r--r--installer/systems/suse101/prereqfiles/etc/group (renamed from installer/systems/suse101/BASE_FILE_etc__group)0
-rw-r--r--installer/systems/suse101/prereqfiles/etc/passwd (renamed from installer/systems/suse101/BASE_FILE_etc__passwd)0
-rw-r--r--installer/systems/suse101/prereqfiles/etc/shadow (renamed from installer/systems/suse101/BASE_FILE_etc__shadow)0
-rwxr-xr-xinstaller/systems/suse101/scripts/postprereq5
-rw-r--r--installer/systems/suse93/prereqfiles/etc/group (renamed from installer/systems/suse93/BASE_FILE_etc__group)0
-rw-r--r--installer/systems/suse93/prereqfiles/etc/passwd (renamed from installer/systems/suse93/BASE_FILE_etc__passwd)0
-rw-r--r--installer/systems/suse93/prereqfiles/etc/shadow (renamed from installer/systems/suse93/BASE_FILE_etc__shadow)0
-rwxr-xr-xinstaller/systems/suse93/scripts/postprereq5
17 files changed, 22 insertions, 7 deletions
diff --git a/installer/systems/README b/installer/systems/README
index ae3a7a63..6a1c4ed0 100644
--- a/installer/systems/README
+++ b/installer/systems/README
@@ -1,10 +1,5 @@
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
+Any file from the prereqfiles sub directory is copied into the stage1 diectory
+before any install action takes place.
diff --git a/installer/systems/opensuse102/BASE_FILE_etc__group b/installer/systems/opensuse102/prereqfiles/etc/group
index 505cb221..505cb221 100644
--- a/installer/systems/opensuse102/BASE_FILE_etc__group
+++ b/installer/systems/opensuse102/prereqfiles/etc/group
diff --git a/installer/systems/opensuse102/BASE_FILE_etc__passwd b/installer/systems/opensuse102/prereqfiles/etc/passwd
index 9b8fc4fe..9b8fc4fe 100644
--- a/installer/systems/opensuse102/BASE_FILE_etc__passwd
+++ b/installer/systems/opensuse102/prereqfiles/etc/passwd
diff --git a/installer/systems/opensuse102/BASE_FILE_etc__shadow b/installer/systems/opensuse102/prereqfiles/etc/shadow
index cd100a5a..cd100a5a 100644
--- a/installer/systems/opensuse102/BASE_FILE_etc__shadow
+++ b/installer/systems/opensuse102/prereqfiles/etc/shadow
diff --git a/installer/systems/opensuse102/scripts/postprereq b/installer/systems/opensuse102/scripts/postprereq
new file mode 100755
index 00000000..b141d4b0
--- /dev/null
+++ b/installer/systems/opensuse102/scripts/postprereq
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+SLX_STAGE1_PATH=$1
+
+chown root: ${SLX_STAGE1_PATH}/etc/{group,passwd,shadow}
diff --git a/installer/systems/suse100/BASE_FILE_etc__group b/installer/systems/suse100/prereqfiles/etc/group
index 505cb221..505cb221 100644
--- a/installer/systems/suse100/BASE_FILE_etc__group
+++ b/installer/systems/suse100/prereqfiles/etc/group
diff --git a/installer/systems/suse100/BASE_FILE_etc__passwd b/installer/systems/suse100/prereqfiles/etc/passwd
index 395a7aaa..395a7aaa 100644
--- a/installer/systems/suse100/BASE_FILE_etc__passwd
+++ b/installer/systems/suse100/prereqfiles/etc/passwd
diff --git a/installer/systems/suse100/BASE_FILE_etc__shadow b/installer/systems/suse100/prereqfiles/etc/shadow
index 995b47ff..995b47ff 100644
--- a/installer/systems/suse100/BASE_FILE_etc__shadow
+++ b/installer/systems/suse100/prereqfiles/etc/shadow
diff --git a/installer/systems/suse100/scripts/postprereq b/installer/systems/suse100/scripts/postprereq
new file mode 100755
index 00000000..b141d4b0
--- /dev/null
+++ b/installer/systems/suse100/scripts/postprereq
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+SLX_STAGE1_PATH=$1
+
+chown root: ${SLX_STAGE1_PATH}/etc/{group,passwd,shadow}
diff --git a/installer/systems/suse101/BASE_FILE_etc__group b/installer/systems/suse101/prereqfiles/etc/group
index 505cb221..505cb221 100644
--- a/installer/systems/suse101/BASE_FILE_etc__group
+++ b/installer/systems/suse101/prereqfiles/etc/group
diff --git a/installer/systems/suse101/BASE_FILE_etc__passwd b/installer/systems/suse101/prereqfiles/etc/passwd
index 395a7aaa..395a7aaa 100644
--- a/installer/systems/suse101/BASE_FILE_etc__passwd
+++ b/installer/systems/suse101/prereqfiles/etc/passwd
diff --git a/installer/systems/suse101/BASE_FILE_etc__shadow b/installer/systems/suse101/prereqfiles/etc/shadow
index bde18120..bde18120 100644
--- a/installer/systems/suse101/BASE_FILE_etc__shadow
+++ b/installer/systems/suse101/prereqfiles/etc/shadow
diff --git a/installer/systems/suse101/scripts/postprereq b/installer/systems/suse101/scripts/postprereq
new file mode 100755
index 00000000..b141d4b0
--- /dev/null
+++ b/installer/systems/suse101/scripts/postprereq
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+SLX_STAGE1_PATH=$1
+
+chown root: ${SLX_STAGE1_PATH}/etc/{group,passwd,shadow}
diff --git a/installer/systems/suse93/BASE_FILE_etc__group b/installer/systems/suse93/prereqfiles/etc/group
index 452ad53a..452ad53a 100644
--- a/installer/systems/suse93/BASE_FILE_etc__group
+++ b/installer/systems/suse93/prereqfiles/etc/group
diff --git a/installer/systems/suse93/BASE_FILE_etc__passwd b/installer/systems/suse93/prereqfiles/etc/passwd
index 15e2efdd..15e2efdd 100644
--- a/installer/systems/suse93/BASE_FILE_etc__passwd
+++ b/installer/systems/suse93/prereqfiles/etc/passwd
diff --git a/installer/systems/suse93/BASE_FILE_etc__shadow b/installer/systems/suse93/prereqfiles/etc/shadow
index 0669bae5..0669bae5 100644
--- a/installer/systems/suse93/BASE_FILE_etc__shadow
+++ b/installer/systems/suse93/prereqfiles/etc/shadow
diff --git a/installer/systems/suse93/scripts/postprereq b/installer/systems/suse93/scripts/postprereq
new file mode 100755
index 00000000..b141d4b0
--- /dev/null
+++ b/installer/systems/suse93/scripts/postprereq
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+SLX_STAGE1_PATH=$1
+
+chown root: ${SLX_STAGE1_PATH}/etc/{group,passwd,shadow}