summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmplayer/vmplayer.build
diff options
context:
space:
mode:
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
}
-