summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/suse/functions-10.2
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-01-30 01:01:53 +0100
committerDirk von Suchodoletz2007-01-30 01:01:53 +0100
commit22c559b1783fc465db0f3e2ef530b5d3cedf8b63 (patch)
tree3749c19ab2a33d66105cf41356f6a014306695ff /initramfs/distro-specs/suse/functions-10.2
parentCreate link in /var/X11R6/bin if variable XBinPath is set (via (diff)
downloadcore-22c559b1783fc465db0f3e2ef530b5d3cedf8b63.tar.gz
core-22c559b1783fc465db0f3e2ef530b5d3cedf8b63.tar.xz
core-22c559b1783fc465db0f3e2ef530b5d3cedf8b63.zip
Cleanup in distro configs (${D_ETCEXCL} does not to have the runlevel
directories). Excluding them via tar in slx '''init''' to avoid ugly timing problem when calling rllinker in hwautocfg and servconfig ... Thus cleanup in initial_boot (in general functions file) was possible too ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@649 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/suse/functions-10.2')
-rw-r--r--initramfs/distro-specs/suse/functions-10.224
1 files changed, 19 insertions, 5 deletions
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2
index f4a23adf..cff4b24f 100644
--- a/initramfs/distro-specs/suse/functions-10.2
+++ b/initramfs/distro-specs/suse/functions-10.2
@@ -1,11 +1,17 @@
+# Copyright (c) 2003 - 2006 - RZ Uni Freiburg
+# Copyright (c) 2006, 2007 - 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 functions for SuSE 10.2 which differ from functions defined
# in general SuSE base definitions ... General changes should be done there,
# version specific changes for the 10.2 go here.
-#
-# Dirk von Suchodoletz <dvs@OpenSLX.com>, 14-12-2006
-#
-# (c) 2006 - RZ Universitaet Freiburg
-# (c) 2006 - OpenSLX.ORG Project
# some specific stuff to initialize
preinit () {
@@ -24,6 +30,7 @@ done
echo -e "#!$shell\n:" >/usr/sbin/alsactl
rm /etc/udev/rules.d/60-persistent-storage.rules 2>/dev/null
chmod u+x /sbin/* /lib/udev/* /usr/sbin/*
+echo -e "disk:x:6:\nlp:x:7:\nkmem:x:9:\nvideo:x:33:" > /etc/group
}
# udev service
@@ -112,12 +119,17 @@ 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
+#echo -e "\tloadkeys ${KEYTABLE} >${LOGFILE} 2>&1\n" \
+# >>/mnt/etc/${D_INITDIR}/boot.ld
+rllinker kbd "01" "20"
}
# consolefont and language (function run in hwautocfg)
consolefont () {
sed -e "s,RC_LANG=.*,RC_LANG=\"${LANG}\" # added in initrd," \
-i /mnt/etc/${D_SYSCONFDIR}/language
+#echo -e "\tsetfont ${CONSOLE_FONT} >${LOGFILE} 2>&1\n" \
+# >>/mnt/etc/${D_INITDIR}/boot.ld
}
# check the glx and tvout stuff and configure it
@@ -176,4 +188,6 @@ Files='\tModulePath\t"/etc/X11/modules"\n
\tFontPath\t"/usr/share/fonts/misc/:unscaled"\n
\tFontPath\t"/usr/share/fonts/75dpi/:unscaled"\n
\tFontPath\t"/usr/share/fonts/100dpi/:unscaled"'
+# where to link /var/X11R6/bin/X too
+XBinPath=/usr/bin/Xorg
}