summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmplayer/vmplayer.build
diff options
context:
space:
mode:
authorSimon Rettberg2013-05-14 17:06:07 +0200
committerSimon Rettberg2013-05-14 17:06:07 +0200
commit746d2e776da606668890164634ea77456bf62f90 (patch)
tree603607a65a0d9c500dae07c4a0597089ee8d80b9 /remote/modules/vmplayer/vmplayer.build
parent[vmplayer] +x on /usr/bin/* (diff)
parentMerge branch 'master' of git:openslx-ng/tm-scripts (diff)
downloadtm-scripts-746d2e776da606668890164634ea77456bf62f90.tar.gz
tm-scripts-746d2e776da606668890164634ea77456bf62f90.tar.xz
tm-scripts-746d2e776da606668890164634ea77456bf62f90.zip
Merge branch 'master' of simonslx:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/vmplayer/vmplayer.build')
-rw-r--r--remote/modules/vmplayer/vmplayer.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build
index 07c55c6d..338a6958 100644
--- a/remote/modules/vmplayer/vmplayer.build
+++ b/remote/modules/vmplayer/vmplayer.build
@@ -1,4 +1,7 @@
fetch_source() {
+ #mount vmware bundle directory
+ [ ! -d /mnt/store/vmware ] && mkdir -p /mnt/store/vmware
+ mount -t nfs -o ro,async,nolock 132.230.8.113:/srv/vmext /mnt/store/vmware || perror "Could not mount vmware bundle directory. Exiting."
ARCH=$(uname -m)
[ "$ARCH" = "i686" ] && ARCH=i386
local BUNDLE="$(find /mnt/store/vmware -type f -name "VMware-Player*.${ARCH}.bundle" | head -1)"
@@ -125,6 +128,7 @@ EOF
mkdir -p "$TARGET_BUILD_DIR/lib/modules/vmware/"
cp "/lib/modules/$UTS_RELEASE/vmplayer/"* "$TARGET_BUILD_DIR/lib/modules/vmware/" || perror "Could not cp vmware modules to target!"
+ [ -e /etc/vmware/config ] && rm -f /etc/vmware/config
+ cp /etc/vmware/config.mltk.bak /etc/vmware/config
}
-