diff options
-rw-r--r-- | os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 2 | ||||
-rw-r--r-- | os-plugins/plugins/vmware/files/install-vmpl2.0.sh | 10 |
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 |