summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorVolker Uhrig2008-05-15 22:54:47 +0200
committerVolker Uhrig2008-05-15 22:54:47 +0200
commitb09522d1ac468296c77bfd6c77bd701ee797ce13 (patch)
tree22c9ca883210d97a7cfcac51e3da14abd09cf3c8 /os-plugins
parent* small fix (diff)
downloadcore-b09522d1ac468296c77bfd6c77bd701ee797ce13.tar.gz
core-b09522d1ac468296c77bfd6c77bd701ee797ce13.tar.xz
core-b09522d1ac468296c77bfd6c77bd701ee797ce13.zip
* fixed a lib problem for vmpl2.0
could have screwed up vmkind=local. needs to get tested more lib+config problems need to get fixed with vmpl2.0 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1772 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm2
-rw-r--r--os-plugins/plugins/vmware/files/install-vmpl2.0.sh10
2 files changed, 12 insertions, 0 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
index ead16365..d24acc8f 100644
--- a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
@@ -261,6 +261,8 @@ sub _writeWrapperScript
#!/bin/sh
# written by OpenSLX-plugin 'vmware' in Stage1
# radically simplified version of the original script $file by VMware Inc.
+ #TODO: test it with local installed vmplayer!!!
+ LD_LIBRARY_PATH=$vmpath/lib
PREFIX=$vmpath # depends on the vmware location
exec "\$PREFIX"'/lib/wrapper-gtk24.sh' \\
"\$PREFIX"'/lib' \\
diff --git a/os-plugins/plugins/vmware/files/install-vmpl2.0.sh b/os-plugins/plugins/vmware/files/install-vmpl2.0.sh
index d4a6c99f..1654659a 100644
--- a/os-plugins/plugins/vmware/files/install-vmpl2.0.sh
+++ b/os-plugins/plugins/vmware/files/install-vmpl2.0.sh
@@ -35,6 +35,16 @@ if [ "${REPLY}" == "YES" ]; then
mv vmware-player-distrib/doc root/
rm -rf vmware-player-distrib/
+ # I don't want to understand what vmware is doing, but without this
+ # step we need to have LD_LIBRARY_PATH with 53 entrys. welcome to
+ # library hell
+ echo " * fixing librarys..."
+ cd root/lib/vmware/lib
+ mkdir test
+ mv lib* test
+ mv test/lib*/* .
+ cd ../../../..
+
echo " * creating /etc/vmware"
mkdir -p /etc/vmware