summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorVolker Uhrig2008-10-10 15:41:35 +0200
committerVolker Uhrig2008-10-10 15:41:35 +0200
commite22c59d7f89ea12b50661fd21559ade7cb402596 (patch)
tree944a08446cefa3c2ac1a0b471b66a782ac6af71b /os-plugins
parent* this file was missing from last commit (diff)
downloadcore-e22c59d7f89ea12b50661fd21559ade7cb402596.tar.gz
core-e22c59d7f89ea12b50661fd21559ade7cb402596.tar.xz
core-e22c59d7f89ea12b50661fd21559ade7cb402596.zip
* create 1:1 copy of /usr/lib/vmware and documented
yet-unused-files git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2281 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/vmware/files/install-vmpl.sh52
1 files changed, 36 insertions, 16 deletions
diff --git a/os-plugins/plugins/vmware/files/install-vmpl.sh b/os-plugins/plugins/vmware/files/install-vmpl.sh
index 91349d1a..85d02496 100644
--- a/os-plugins/plugins/vmware/files/install-vmpl.sh
+++ b/os-plugins/plugins/vmware/files/install-vmpl.sh
@@ -138,17 +138,11 @@ else
cd ${vmplversion}
echo " * Manipulating and extracting vmplayer ${vmplversion} package. this may take a while"
- # VMware is ..... they dont get ride about
- # ${vmplversion} --help if you're not running X, even
- # if the output is in console. Only sudo or root login
- # works to get attributes..... grrrrr
- # and, of course, it want to deinstall its old crap first
- # we need to remove the deinstallation shit and take care
- # that there's no char more or less as in the original!
- # of course, their extraction needs root priv... senceless
- # fool non-root user extraction... for testing
+ # fool non-root user extraction... just for testing
sed -i 's/ exit 1/ echo 1/' ../${tgzfile}
+ # don't use deinstallation stuff and checks of /etc...
+ # and don't modify file size, else it wont work!
sed -i 's/ migrate_networks/ echo te_networks/' ../${tgzfile}
sed -i 's/ uninstall_legacy/ echo tall_legacy/' ../${tgzfile}
sed -i 's/ uninstall_rpm/ echo tall_rpm/' ../${tgzfile}
@@ -166,15 +160,41 @@ else
rm -rf vmroot
echo " * copying files..."
- mkdir vmroot
- mkdir -p vmroot/modules
+ mkdir -p vmroot
mkdir -p vmroot/lib
+ ##
+ ## /usr/lib/vmware
+ ##
mv temp/vmware-player/lib vmroot/lib/vmware
- mv temp/vmware-player/bin vmroot/
- mv temp/vmware-player/sbin vmroot/
- mv temp/vmware-player/doc vmroot/
-# rm -rf vmware-player-distrib/
- rm -rf vmroot/lib/vmware/modules/binary
+ # the following shouldn't be needed, just to have it 1:1 self-created
+ # copy of /usr/lib/vmware
+ mv temp/vmware-installer vmroot/lib/vmware/installer
+ rm -rf vmroot/lib/vmware/installer/.installer
+ rm -rf vmroot/lib/vmware/installer/bootstrap
+ mkdir -p vmroot/lib/vmware/setup
+ mv temp/vmware-player-setup/vmware-config vmroot/lib/vmware/setup
+ # 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
+
+ ##
+ ## left files/dirs
+ ##
+ # temp/vmware-player/sbin => /usr/sbin
+ # temp/vmware-player/doc/ => /usr/share/doc/vmware-player/ => EULA
+ # 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
+ # temp/vmware-player/build => unknown... not found on system
+
# echo " * fixing file permission"
# chmod 04755 vmroot/lib/vmware/bin/vmware-vmx