summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Teran <evan.teran@gmail.com>2015-09-08 21:55:38 +0200
committerAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-09-08 22:00:48 +0200
commit29a36f24c5b4039cfe5a99292a581ab3ab4a9ce2 (patch)
tree4989323c80e8b989a87e98467e9ed0a12baf36ce /app-emulation/vmware-player/files
parentnet-fs/samba: Bump to version 4.2.4 (diff)
downloadgentoo-29a36f24c5b4039cfe5a99292a581ab3ab4a9ce2.tar.gz
gentoo-29a36f24c5b4039cfe5a99292a581ab3ab4a9ce2.tar.bz2
gentoo-29a36f24c5b4039cfe5a99292a581ab3ab4a9ce2.zip
app-emulation/vmware-player: Support ovftool installation, add library dir symlink
Diffstat (limited to 'app-emulation/vmware-player/files')
-rw-r--r--app-emulation/vmware-player/files/vmware-network.service17
-rw-r--r--app-emulation/vmware-player/files/vmware-usbarbitrator.service11
2 files changed, 28 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/files/vmware-network.service b/app-emulation/vmware-player/files/vmware-network.service
new file mode 100644
index 000000000000..abc6648f3156
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-network.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=VMware Network
+Requires=local-fs.target
+Wants=network.target vmware-usbarbitrator.service
+After=local-fs.target network.target vmware-usbarbitrator.service
+
+[Service]
+Type=simple
+ExecStartPre=/sbin/modprobe -av vmci vmmon vsock vmblock vmnet
+ExecStart=/opt/vmware/bin/vmware-networks --start
+ExecStop=/opt/vmware/bin/vmware-networks --stop
+ExecStopPost=/sbin/modprobe -rv vmmon vsock vmblock vmnet vmci
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-emulation/vmware-player/files/vmware-usbarbitrator.service b/app-emulation/vmware-player/files/vmware-usbarbitrator.service
new file mode 100644
index 000000000000..16a0fb81bfc9
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-usbarbitrator.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=VMware USB Arbitrator
+Requires=local-fs.target
+Before=vmware-network.service
+
+[Service]
+Type=forking
+ExecStart=/opt/vmware/bin/vmware-usbarbitrator
+
+[Install]
+WantedBy=multi-user.target