diff --git a/talimatname/genel/v/virtualbox-guest-modules/talimat b/talimatname/genel/v/virtualbox-guest-modules/talimat new file mode 100644 index 000000000..9dac59284 --- /dev/null +++ b/talimatname/genel/v/virtualbox-guest-modules/talimat @@ -0,0 +1,21 @@ +# Tanım: VirtualBox guest kernel modules, to use with guest-utils +# URL: https://virtualbox.org +# Paketçi: milisarge +# Gerekler: kernel elfutils +# Grup: sistem + +isim=virtualbox-guest-modules +surum=5.2.14 +devir=1 +kaynak=(https://sourceforge.net/projects/kaosx/files/sources/virtualbox-modules/vbox-guest-module-src-5.2.14.tar.xz) + +derle() { + _kernver="4.15.7-milis" + [ -d /lib/modules/${_kernver}/build/vmlinux ] && rm -rf /lib/modules/${_kernver}/build/vmlinux + cd $SRC/vbox-guest-module-src-${surum} + make KERN_DIR=/lib/modules/${_kernver}/build MODULE_DIR_TST=${PKG}/lib/modules/${_kernver} \ + MODULE_DIR=${PKG}/lib/modules/${_kernver}/misc + cd $SRC/vbox-guest-module-src-${surum} + install -dm755 ${PKG}/lib/modules/${_kernver}/extra + install -m644 *.ko ${PKG}/lib/modules/${_kernver}/extra/ +} diff --git a/talimatname/genel/v/virtualbox-guest-modules/virtualbox-guest-modules.kur-kos b/talimatname/genel/v/virtualbox-guest-modules/virtualbox-guest-modules.kur-kos new file mode 100644 index 000000000..dc6474309 --- /dev/null +++ b/talimatname/genel/v/virtualbox-guest-modules/virtualbox-guest-modules.kur-kos @@ -0,0 +1,10 @@ +_kernver="4.15.7-milis" +depmod -a ${_kernver} + +modules=(vboxguest vboxsf vboxvideo) + + echo -n 'Loading modules: ' + for _m in "${modules[@]}"; do + modprobe "$_m" && echo -n "$_m " + done +echo