summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-05-05 16:46:39 +0200
committerDirk von Suchodoletz2007-05-05 16:46:39 +0200
commit5372025f1d779f8c3303794f6237059ecd8f05f0 (patch)
tree19cc7d04c5050297b45ddc5f149ae33c3424ae17 /initramfs/initrd-stuff
parentUpdate of Stage3 error messages ... (diff)
downloadcore-5372025f1d779f8c3303794f6237059ecd8f05f0.tar.gz
core-5372025f1d779f8c3303794f6237059ecd8f05f0.tar.xz
core-5372025f1d779f8c3303794f6237059ecd8f05f0.zip
Hope that solves the "hanging/no keyboard" X display problem: Reordering
of start scripts, devices available ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@996 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff')
-rw-r--r--initramfs/initrd-stuff/etc/messages6
-rw-r--r--initramfs/initrd-stuff/etc/messages.de2
-rwxr-xr-xinitramfs/initrd-stuff/init15
3 files changed, 10 insertions, 13 deletions
diff --git a/initramfs/initrd-stuff/etc/messages b/initramfs/initrd-stuff/etc/messages
index f6084322..b9df8dea 100644
--- a/initramfs/initrd-stuff/etc/messages
+++ b/initramfs/initrd-stuff/etc/messages
@@ -149,8 +149,10 @@ df_errvmw=" VMware X86 emulation $df_errserv"
df_erramnt=" Automounter $df_errserv"
df_errnsc=" Name Service caching deamon $df_errserv\n This service might \
be useful to take load from a ldap user directory."
-df_errafsd=" No afs directory present"
-df_errafsn=" AFS client service is not available"
+df_errafsd=" No afs directory present."
+df_errafsn=" AFS client service is not available."
+df_errkbd=" No non-english keyboard and console settings are installed. \
+Please add\n them to your stage1 to have them enabled."
# messages from servconfig
scfg_nfs=" Mount of some NFS source failed ..."
diff --git a/initramfs/initrd-stuff/etc/messages.de b/initramfs/initrd-stuff/etc/messages.de
index b4033849..feb7957d 100644
--- a/initramfs/initrd-stuff/etc/messages.de
+++ b/initramfs/initrd-stuff/etc/messages.de
@@ -160,6 +160,8 @@ Dieser Dienst koennte nuetzlich sein, um Daten von einem ldap Benutzer-\
Verzeichnis zu bekommen."
df_errafsd=" Kein AFS Verzeichnis erreichbar"
df_errafsn=" Der AFS-Klient Dienst ist nicht verfuegbar"
+df_errkbd=" Keine nicht-englische Tastatur und/oder Konsolenunterstuetzung \
+installiert.\n Falls gewuenscht/benoetigt diese im Stage1 nachinstallieren!"
# messages from servconfig
scfg_nfs=" Das Einhaengen der NFS Quelle schlug fehl..."
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index e83b1939..463376b4 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -157,6 +157,8 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup
unionfs=*)
unionfs=1
uniondirs=${opts#unionfs=}
+ # most probably it is a good idea to run ldconfig, so enable it
+ ldsc="yes"
;;
# same for AUFS; alternative to unionfs
aufs)
@@ -164,6 +166,8 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup
aufs=*)
aufs=1
uniondirs=${opts#aufs=}
+ # most probably it is a good idea to run ldconfig, so enable it
+ ldsc="yes"
;;
# if cowloop should be used, only ontop of network block device and in
# combination with classical fs, like ext2 useful
@@ -510,17 +514,6 @@ if [ -n "${unionfs}" -o -n "${aufs}" ] ; then
mkdir -p /mnt/uniontmp
mount -n --move ${rwdir}/uniontmp /mnt/uniontmp
chmod 0755 /mnt/uniontmp /mnt
- # if additional sources should be used for a combined root filesystem
- # probably more sources should be merged into union (${union} is defined)
- # allow more than one union??
- if [ -n "${unionfs}" -o -n "${aufs}" ] ; then
- # for dir in "${union}"; do
- # testmkd /unionadd/$dir
- # mount $dir unionadd/$dir
- # unionctl mnt --add --after /mnt --mode ro /unionadd/$dir
- # most probably it is a good idea to run ldconfig, so enable it
- ldsc="yes"
- fi
# run ldconfig if not switched off via kernel command line
ldcfg
# runlevel directories should contain no links