[packages/VirtualBox] - fix building guest kernel modules - rel 2
baggins
baggins at pld-linux.org
Sat Feb 8 10:37:59 CET 2020
commit ee4191d8318b6da3eaf275985d30ce273893afe2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Feb 8 10:35:53 2020 +0100
- fix building guest kernel modules
- rel 2
VirtualBox.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 4291a8f..36c19ea 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -47,7 +47,7 @@ exit 1
%define qtver 5.6.0
-%define rel 1
+%define rel 2
%define pname VirtualBox
Summary: VirtualBox - x86 hardware virtualizer
Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86
@@ -509,10 +509,9 @@ cd ../..\
%endif\
cd PLD-MODULE-BUILD/GuestDrivers\
%build_kernel_modules -m vboxguest -C vboxguest\
-cp -a vboxguest/Module.symvers vboxsf\
-%build_kernel_modules -m vboxsf -C vboxsf -c\
+%build_kernel_modules -m vboxsf -C vboxsf KBUILD_EXTRA_SYMBOLS=$PWD/../vboxguest/Module.symvers\
%if %{_kernel_version_code} < %{_kernel_version_magic 4 13 0}\
-%build_kernel_modules -m vboxvideo -C vboxvideo\
+%build_kernel_modules -m vboxvideo -C vboxvideo KBUILD_EXTRA_SYMBOLS=$PWD/../vboxguest/Module.symvers\
%endif\
cd ../..\
%if %{with host}\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/ee4191d8318b6da3eaf275985d30ce273893afe2
More information about the pld-cvs-commit
mailing list