milis/talimatname/genel/v/vmware/vmware.kur-kos

16 lines
642 B
Plaintext
Raw Normal View History

2018-03-01 09:45:05 +01:00
#!/bin/sh
2018-03-01 16:45:08 +01:00
[ -f /sources/milis.git/ayarlar/moduller/vmci.ko ] && cp /sources/milis.git/ayarlar/moduller/vmci.ko /lib/modules/$(uname -r)/extra/
2018-03-01 09:45:05 +01:00
cd /usr/src/vmware-14*
2018-03-01 16:45:08 +01:00
[ -f /usr/src/linux-$(uname -r)/vmlinux ] && mv /usr/src/linux-$(uname -r)/vmlinux /opt
2018-03-01 09:45:05 +01:00
make KVERSION=$(uname -r) VM_KBUILD=yes -C vmmon-only
cp vmmon-only/vmmon.ko lib/modules/$(uname -r)/extra/
make KVERSION=$(uname -r) VM_KBUILD=yes -C vmnet-only
cp vmnet-only/vmnet.ko lib/modules/$(uname -r)/extra/
2018-03-01 16:45:08 +01:00
[ -f /opt/vmlinux ] && mv /opt/vmlinux /usr/src/linux-$(uname -r)/
2018-03-01 09:45:05 +01:00
depmod
modprobe vmmon
modprobe vmnet
2018-03-01 11:55:08 +01:00
[ -f lib/modules/$(uname -r)/extra/vmci.ko ] && modprobe vmci