summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initramfs/distro-specs/debian/functions-default6
-rw-r--r--initramfs/distro-specs/suse/functions-10.227
-rw-r--r--initramfs/distro-specs/suse/functions-10.326
-rw-r--r--initramfs/distro-specs/suse/functions-default6
-rwxr-xr-xinitramfs/stage3-stuff/init2
5 files changed, 54 insertions, 13 deletions
diff --git a/initramfs/distro-specs/debian/functions-default b/initramfs/distro-specs/debian/functions-default
index a3f46652..20799eea 100644
--- a/initramfs/distro-specs/debian/functions-default
+++ b/initramfs/distro-specs/debian/functions-default
@@ -14,17 +14,11 @@
# distro specific configuration variables used in the setup functions
# (formerly done via config-*, these variables are disputable ...)
-# D_ETCEXCL - list of files, wildcards to be excluded from /etc when using
-# bind mounts
# 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
-D_ETCEXCL="etc/gconf/*\n*.old\n*-\n\
-etc/autoinstall\nlogrotate*\nbootloader\n*~\n\
-pptp.d\nisdn\nyouservers\nhardware/hwcfg*\n\
-X11/xdm/pixmaps\ndhclient.script"
D_BINDMPTS="tmp root home"
D_DIRINBINDMNT="/var/run /var/log /var/tmp /var/lib/gdm /etc/X11"
D_RODIRSINRW="etc/gconf etc/X11/xkb /var/lib/texmf /var/cache/fontconfig \
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2
new file mode 100644
index 00000000..37a79799
--- /dev/null
+++ b/initramfs/distro-specs/suse/functions-10.2
@@ -0,0 +1,27 @@
+# Copyright (c) 2003..2006 - RZ Uni Freiburg
+# Copyright (c) 2006..2008 - 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 10.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
+
+D_RODIRSINRW="/etc/opt/gnome/gconf /etc/X11/xkb /var/adm /var/lib/texmf \
+/var/lib/rpm /var/cache/fontconfig"
diff --git a/initramfs/distro-specs/suse/functions-10.3 b/initramfs/distro-specs/suse/functions-10.3
new file mode 100644
index 00000000..3f9516c3
--- /dev/null
+++ b/initramfs/distro-specs/suse/functions-10.3
@@ -0,0 +1,26 @@
+# Copyright (c) 2003..2006 - RZ Uni Freiburg
+# Copyright (c) 2006..2008 - 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 10.3 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
+
+# no changes from functions-default by now
diff --git a/initramfs/distro-specs/suse/functions-default b/initramfs/distro-specs/suse/functions-default
index 6c7db1f6..64669df4 100644
--- a/initramfs/distro-specs/suse/functions-default
+++ b/initramfs/distro-specs/suse/functions-default
@@ -16,18 +16,12 @@
# settings of central variables (formerly done via config-*, these variables
# are disputable ...)
-# D_ETCEXCL - list of files, wildcards to be excluded from /etc when using
-# bind mounts
# 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
-D_ETCEXCL="*.old\n*-\n*.rpmorig\n*.rpmnew\n\
-*.YaST2save\netc/autoinstall\nlogrotate*\nbootloader\n*~\n\
-*.SuSEconfig.saved\npptp.d\nisdn\nyouservers\nhardware/hwcfg*\n\
-X11/xdm/pixmaps\n*.rpmsave\ndhclient*script"
D_BINDMPTS="tmp root media home"
D_DIRINBINDMNT="/var/run /var/log /var/tmp"
D_RODIRSINRW="/etc/opt/gnome/gconf /etc/X11/xkb /var/adm /var/lib/texmf \
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 56814694..306a2091 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -735,7 +735,7 @@ elif [ -z "${cowloop}" ] ; then
echo "*$i/*" >>/tmp/etc.exclude
done
# add list of files to be excluded and common excludes to the filter list
- echo -e "${D_ETCEXCL}\n*~\n*.old\n*-\nxorg.conf*" >>/tmp/etc.exclude
+ echo -e "-\ndhcp*\n*~\n*.old\n*-\nxorg.conf*" >>/tmp/etc.exclude
# if ld.so.cache is to be generated then do not copy the file
[ -n "${ldsc}" ] && echo -e "ld.so.cache*" >>/tmp/etc.exclude
# for tar exclude lists might be used, more difficult for cp