From 0661f43aefefab37852a69e835105adaacb86a58 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 25 May 2011 23:19:45 +0200 Subject: In new SuSE 11.4 the /var/log/btmp is needed to exist. --- src/initramfs/distro-specs/suse/functions-11.4 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/initramfs/distro-specs') diff --git a/src/initramfs/distro-specs/suse/functions-11.4 b/src/initramfs/distro-specs/suse/functions-11.4 index 94269cc8..6335bb69 100644 --- a/src/initramfs/distro-specs/suse/functions-11.4 +++ b/src/initramfs/distro-specs/suse/functions-11.4 @@ -8,7 +8,7 @@ # # General information about OpenSLX can be found under http://openslx.org # -# configuration script for OpenSuSE 11.2 to configure linux stateless clients +# configuration script for OpenSuSE 11.4 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 @@ -22,7 +22,16 @@ # D_DIRINDXS - directories in client filesystem which should be present # anyhow # -# TODO: id. copy of functions-11.2 to be adapted to 11.3 +# TODO: id. copy of functions-11.2 to be adapted to 11.4 + +# distro specific function called from servconfig script +config_distro () { +# clean the runlevel directories which will be populated by the stage3 setup +for dir in rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d boot.d ; do + rm -rf /mnt/etc/init.d/${dir}/* +done +touch /mnt/var/log/btmp +} # start portmapper (needed at least for nfs and nis services) config_portmap () { -- cgit v1.2.3-55-g7522