diff --git a/talimatname/genel/v/virtualbox-modules/talimat b/talimatname/genel/v/virtualbox-modules/talimat index 974b5343d..6a3e0e1b2 100644 --- a/talimatname/genel/v/virtualbox-modules/talimat +++ b/talimatname/genel/v/virtualbox-modules/talimat @@ -10,7 +10,7 @@ devir=1 kaynak=(https://sourceforge.net/projects/kaosx/files/sources/virtualbox-modules/vbox-kernel-module-src-${surum}.tar.xz) derle() { - _kernver="4.15.7-milis" + _kernver="`ls /lib/modules`" [ -f /lib/modules/${_kernver}/build/vmlinux ] && rm -rf /lib/modules/${_kernver}/build/vmlinux cd $SRC/vbox-kernel-module-src-${surum} make KERN_DIR=/lib/modules/${_kernver}/build MODULE_DIR_TST=${PKG}/lib/modules/${_kernver} \ diff --git a/talimatname/genel/v/virtualbox-modules/virtualbox-modules.kur-kos b/talimatname/genel/v/virtualbox-modules/virtualbox-modules.kur-kos index cc53524bc..c71791760 100644 --- a/talimatname/genel/v/virtualbox-modules/virtualbox-modules.kur-kos +++ b/talimatname/genel/v/virtualbox-modules/virtualbox-modules.kur-kos @@ -1,4 +1,4 @@ -_kernver="4.15.7-milis" +_kernver="`ls /lib/modules`" depmod -a ${_kernver} modules=(vboxnetadp vboxnetflt vboxpci vboxdrv)