commit daaa215df745fcb11b55e2b65d59336e8e399228
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Mar 15 03:47:23 2018 +0000
Based on opensuse version
VirtualBox-kmod.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index fb3010f..a6c7507 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -91,12 +91,11 @@ for kernel_version in %{?kernel_versions}; do
for module in vbox{drv,guest}; do
make VBOX_USE_INSERT_PAGE=1 %{?_smp_mflags}
KERN_DIR="${kernel_version##*___}" -C "${kernel_version##*___}"
SUBDIRS="${PWD}/_kmod_build_${kernel_version%%___*}/${module}" modules
done
+ # copy vboxdrv (for host) module symbols which are used by vboxnetflt and vboxnetadp
km's:
cp _kmod_build_${kernel_version%%___*}/{vboxdrv/Module.symvers,vboxnetadp}
cp _kmod_build_${kernel_version%%___*}/{vboxdrv/Module.symvers,vboxnetflt}
+ # copy vboxguest (for guest) module symbols which are used by vboxsf km:
cp _kmod_build_${kernel_version%%___*}/{vboxguest/Module.symvers,vboxsf}
-%if %{with vboxvideo}
- cp _kmod_build_${kernel_version%%___*}/{vboxguest/Module.symvers,vboxvideo}
-%endif
for module in vbox{netadp,netflt,sf,%{?with_vboxvideo:video,}pci}; do
make VBOX_USE_INSERT_PAGE=1 %{?_smp_mflags}
KERN_DIR="${kernel_version##*___}" -C "${kernel_version##*___}"
SUBDIRS="${PWD}/_kmod_build_${kernel_version%%___*}/${module}" modules
done