diff options
author | Volker Uhrig | 2008-10-13 12:47:15 +0200 |
---|---|---|
committer | Volker Uhrig | 2008-10-13 12:47:15 +0200 |
commit | 0d17461cb57bfe150b57e6bbfb6913b3b149cfae (patch) | |
tree | 584d1117587ff9a1d799f1ca1c0be7460f92ed61 /os-plugins/plugins/vmware/files/install-vmpl.sh | |
parent | * Some more preparation. Mainly kernel and plugin config (diff) | |
download | core-0d17461cb57bfe150b57e6bbfb6913b3b149cfae.tar.gz core-0d17461cb57bfe150b57e6bbfb6913b3b149cfae.tar.xz core-0d17461cb57bfe150b57e6bbfb6913b3b149cfae.zip |
* got vmplayer running without their installer and like on our vmware system
* not tested on an OpenSLX Client yet!
* kernel modules can become ugly
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2286 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/install-vmpl.sh')
-rw-r--r-- | os-plugins/plugins/vmware/files/install-vmpl.sh | 38 |
1 files changed, 8 insertions, 30 deletions
diff --git a/os-plugins/plugins/vmware/files/install-vmpl.sh b/os-plugins/plugins/vmware/files/install-vmpl.sh index ba1d9c3f..e0795b30 100644 --- a/os-plugins/plugins/vmware/files/install-vmpl.sh +++ b/os-plugins/plugins/vmware/files/install-vmpl.sh @@ -176,21 +176,11 @@ else mkdir -p vmroot/lib/vmware/setup mv temp/vmware-player-setup/vmware-config vmroot/lib/vmware/setup mv temp/vmware-player/doc vmroot/ - # files that differ so far... yes the normal hack we know from v1ŮŽ/v2a - # .../installer/ shouldn't be needed, too - #vmroot/lib/vmware/installer/lib/libconf/etc/gtk-2.0/gdk-pixbuf.loaders - #vmroot/lib/vmware/installer/lib/libconf/etc/gtk-2.0/gtk.immodules - #vmroot/lib/vmware/installer/lib/libconf/etc/pango/pango.modules - #vmroot/lib/vmware/installer/lib/libconf/etc/pango/pangorc - #vmroot/lib/vmware/libconf/etc/gtk-2.0/gdk-pixbuf.loaders - #vmroot/lib/vmware/libconf/etc/gtk-2.0/gtk.immodules - #vmroot/lib/vmware/libconf/etc/pango/pango.modules - #vmroot/lib/vmware/libconf/etc/pango/pangorc + mv temp/vmware-player/bin vmroot/ ## ## left files/dirs ## - # temp/vmware-player/bin => /usr/bin # temp/vmware-player/files/index.theme ... hopefully not needed, # temp/vmware-player/share => /usr/share ... icons # temp/vmware-player/etc/... => /etc @@ -209,9 +199,12 @@ else # vmnet(1|8) => we know it from v1/v2 echo " * fixing file permission" + chmod 755 vmroot/lib/vmware/bin/* chmod 04755 vmroot/lib/vmware/bin/vmware-vmx - chmod 04755 vmroot/lib/vmware/bin/vmware-debug - chmod 04755 vmroot/lib/vmware/bin/vmware-stats + chmod 04755 vmroot/lib/vmware/bin/vmware-vmx-debug + chmod 04755 vmroot/lib/vmware/bin/vmware-vmx-stats + chmod 755 vmroot/bin/* + chmod 755 vmroot/lib/vmware/lib/wrapper-gtk24.sh # 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 @@ -251,8 +244,8 @@ else tar xf vmnet.tar tar xf vmmon.tar tar xf vmblock.tar - tar xf vmci.tar - tar xf vmppuser.tar + #tar xf vmci.tar # just for 2 or more VMs => not needed + #tar xf vmppuser.tar # we don't need it tar xf vsock.tar echo " * building vmblock module" @@ -276,21 +269,6 @@ else mv vmnet.ko vmnet.o ../../../../../modules cd .. - echo " * building vmci module" - cd vmci-only - sed -i "s%^VM_UNAME = .*%VM_UNAME = $(find /boot/vmlinuz* -maxdepth 0|sed 's,/boot/vmlinuz-,,g'|sort|tail -n 1)%" Makefile - make -s - mv vmci.ko vmci.o ../../../../../modules - cd .. - - # This module is optional and compilation can become painful - #echo " * building vmppuser module" - #cd vmppuser-only - #sed -i "s%^VM_UNAME = .*%VM_UNAME = $(find /boot/vmlinuz* -maxdepth 0|sed 's,/boot/vmlinuz-,,g'|sort|tail -n 1)%" Makefile - #make -s - #mv vmppuser.ko vmppuser.o ../../../../../modules - #cd .. - echo " * building vmsock module" cd vsock-only sed -i "s%^VM_UNAME = .*%VM_UNAME = $(find /boot/vmlinuz* -maxdepth 0|sed 's,/boot/vmlinuz-,,g'|sort|tail -n 1)%" Makefile |