[packages/VirtualBox] need kernel sources for dkms as well

glen glen at pld-linux.org
Sun Mar 2 12:48:34 CET 2014


commit 018d1463a16e467e89a5c310b859f24b826ec743
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 2 11:48:31 2014 +0000

    need kernel sources for dkms as well

 VirtualBox.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 10a6a8c..734c03a 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -549,7 +549,7 @@ cd ../..\
 
 %{__sed} -i -e 's#@INSTALL_DIR@#%{_libdir}/%{pname}#' src/VBox/Installer/linux/VBox.sh
 
-%if %{with kernel}
+%if %{with kernel} || %{with dkms}
 install -d PLD-MODULE-BUILD/{GuestDrivers,HostDrivers}
 cd PLD-MODULE-BUILD
 ../src/VBox/Additions/linux/export_modules guest-modules.tar.gz
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/018d1463a16e467e89a5c310b859f24b826ec743



More information about the pld-cvs-commit mailing list