summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs/ubuntu
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-03-08 20:16:36 +0100
committerDirk von Suchodoletz2006-03-08 20:16:36 +0100
commit8bd96400a49762c9c8aae0d2cccd53ae129c827a (patch)
treedb080e5062632254416222c49cce2a08617e3ed0 /initrd/distro-specs/ubuntu
parentstarted integration of vmware services ... (diff)
downloadcore-8bd96400a49762c9c8aae0d2cccd53ae129c827a.tar.gz
core-8bd96400a49762c9c8aae0d2cccd53ae129c827a.tar.xz
core-8bd96400a49762c9c8aae0d2cccd53ae129c827a.zip
added hard disk detection, swap and special partition "44", started with
new vmware environment integration ... git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@96 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/ubuntu')
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.1017
1 files changed, 15 insertions, 2 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10
index 59024122..d26dbea7 100644
--- a/initrd/distro-specs/ubuntu/functions-5.10
+++ b/initrd/distro-specs/ubuntu/functions-5.10
@@ -2,13 +2,13 @@
# linux diskless clients (executed within initial
# ramdisk after genconfig)
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 16-02-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 08-03-2006
# Nico Dietrich
# Felix Endres
#
# Copyright: (c) 2006 - RZ Universitaet Freiburg
#
-# Version: 0.2.1b
+# Version: 0.2.1c
# distro specific stuff to initialize
preinit () {
@@ -274,6 +274,19 @@ config_nscd () {
:
}
+# start vmware
+config_vmware () {
+echo -e "#! /bin/sh\n#\n# /etc/${D_INITDIR}/vmware-prep\n\
+# file generated by $0 within initial ramdisk\n\
+# hier fehlt noch der uebliche Ubuntu Startskript header" \
+ >> /mnt/etc/${D_INITDIR}/vmware-prep
+cat /etc/vmware-prep >> /mnt/etc/${D_INITDIR}/vmware-prep
+echo -e "# und der Abschluss" >> /mnt/etc/${D_INITDIR}/vmware-prep
+chmod u+x /mnt/etc/${D_INITDIR}/vmware-prep
+rllinker "vmware-prep" "18" "02"
+rllinker "vmware" "20" "02"
+}
+
# configure automounter
config_automount () {
if [ -f /mnt/etc/init.d/autofs ] ; then