This commit is contained in:
milisbir 2018-08-29 13:10:23 +03:00
parent 9b5d72f5ee
commit 036e9387b7
2 changed files with 2 additions and 2 deletions

View File

@ -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} \

View File

@ -1,4 +1,4 @@
_kernver="4.15.7-milis"
_kernver="`ls /lib/modules`"
depmod -a ${_kernver}
modules=(vboxnetadp vboxnetflt vboxpci vboxdrv)