From b09522d1ac468296c77bfd6c77bd701ee797ce13 Mon Sep 17 00:00:00 2001 From: Volker Uhrig Date: Thu, 15 May 2008 20:54:47 +0000 Subject: * 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 --- os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 2 ++ os-plugins/plugins/vmware/files/install-vmpl2.0.sh | 10 ++++++++++ 2 files changed, 12 insertions(+) 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 -- cgit v1.2.3-55-g7522