commit 8abc05df118ab4d4ba04b0bd618cb6a334fa25e4
Author: Jan Palus <at...@pld-linux.org>
Date:   Fri Apr 6 16:55:46 2018 +0200

    don't build vboxguest module on kernel >= 4.16.0
    
    vboxguest mainlined since 4.16.0

 VirtualBox.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 73ca976..ab74b28 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -477,7 +477,9 @@ gospodarzem sprzętu PCI.\
 %files -n kernel%{_alt_kernel}-virtualbox-guest\
 %defattr(644,root,root,755)\
 %config(noreplace) %verify(not md5 mtime size) 
/etc/modules-load.d/virtualbox-guest.conf\
+%if %{_kernel_version_code} < %{_kernel_version_magic 4 16 0}\
 /lib/modules/%{_kernel_ver}/misc/vboxguest.ko*\
+%endif\
 /lib/modules/%{_kernel_ver}/misc/vboxsf.ko*\
 %if %{_kernel_version_code} < %{_kernel_version_magic 4 13 0}\
 /lib/modules/%{_kernel_ver}/misc/vboxvideo.ko*\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/8abc05df118ab4d4ba04b0bd618cb6a334fa25e4

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to