summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinitramfs/stage3-stuff/bin/hwautocfg3
-rw-r--r--os-plugins/plugins/vmchooser/files/run-virt.sh2
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm3
-rw-r--r--os-plugins/plugins/vmware/files/run-virt.include2
4 files changed, 7 insertions, 3 deletions
diff --git a/initramfs/stage3-stuff/bin/hwautocfg b/initramfs/stage3-stuff/bin/hwautocfg
index 4dbf96e7..55d3ff12 100755
--- a/initramfs/stage3-stuff/bin/hwautocfg
+++ b/initramfs/stage3-stuff/bin/hwautocfg
@@ -95,6 +95,9 @@ hwinfo --scanner >/etc/hwinfo.scanner
[ -f /tmp/scanner-udev ] && cat /tmp/scanner-udev \
>>/mnt/etc/udev/rules.d/04-scanner.rules
+# parallel port setup
+modprobe ${MODPRV} parport_pc && modprobe ${MODPRV} ppdev
+
# if any new device appeared up to now
mdev -s
return 0
diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh
index bc3de80d..8c1ccabe 100644
--- a/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -184,7 +184,7 @@ writelog ()
echo -e "$1"
# Log into file
- echo -e "$1" >>run-virt.log
+ echo -e "$1" >>/tmp/run-virt.$$.log
}
# Setup the rest of the environment and run the virtualization tool just confi-
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm
index e2394f27..7e6840cc 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm
@@ -168,8 +168,9 @@ sub fillRunlevelScript
echo -n "Starting vmware background services ..."
# load the configuration file
. /etc/vmware/slxvmconfig
- # hack to access the first serial port
+ # hack to access the first serial/parallel port
chmod a+rw /dev/ttyS0
+ chmod a+rw /dev/parport0
load_modules
setup_vmnet0
setup_vmnet1
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include
index a9c8fb04..f20b8d65 100644
--- a/os-plugins/plugins/vmware/files/run-virt.include
+++ b/os-plugins/plugins/vmware/files/run-virt.include
@@ -252,7 +252,7 @@ case "$serial" in
;;
esac
case "$parallel" in
- lp*)
+ lp*|parport*)
paraldev="parallel0.filename = \"/dev/${parallel}\""
paralbidi="TRUE"
parallel="TRUE"