summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/suse/functions-10.2
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/distro-specs/suse/functions-10.2
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/distro-specs/suse/functions-10.2')
-rw-r--r--initramfs/distro-specs/suse/functions-10.218
1 files changed, 10 insertions, 8 deletions
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2
index a5823ed6..1e3956c6 100644
--- a/initramfs/distro-specs/suse/functions-10.2
+++ b/initramfs/distro-specs/suse/functions-10.2
@@ -158,15 +158,17 @@ SUBSYSTEM==\"usb\", ACTION==\"remove\", PROGRAM=\"/var/X11R6/bin/vm-udev\"" \
fi
}
# set up keytable (function run in hwautocfg)
-# kbd runlevel link is in the list of initial runlevel scripts (see
-# suse/config-10.2 file)
keytable () {
-# remove unneeded components from the startscript
-sed -e "/wanted keytable/,/^fi$/d;/load usb drivers/,/^esac$/d" \
- -i /mnt/etc/${D_INITDIR}/kbd
-sed -e "s,KEYTABLE=.*,KEYTABLE=\"${KEYTABLE}\"," \
- -i /mnt/etc/${D_SYSCONFDIR}/keyboard
-rllinker kbd "20" "20"
+if [ -f /mnt/etc/${D_INITDIR}/kbd ] ; then
+ # remove unneeded components from the startscript
+ sed -e "/wanted keytable/,/^fi$/d;/load usb drivers/,/^esac$/d" \
+ -i /mnt/etc/${D_INITDIR}/kbd
+ sed -e "s,KEYTABLE=.*,KEYTABLE=\"${KEYTABLE}\"," \
+ -i /mnt/etc/${D_SYSCONFDIR}/keyboard
+ ln -sf /etc/${D_INITDIR}/kbd /mnt/etc/${D_INITBOOTD}/S01boot.kbd
+else
+ error "$df_errkbd" nonfatal
+fi
}
# consolefont and language (function run in hwautocfg)