1
0
forked from pool/virtualbox

Use distro-default INSTALL_MOD_DIR

This commit is contained in:
Jan Engelhardt 2024-11-14 01:33:58 +01:00
parent c70a6a7740
commit b5ec841bec
3 changed files with 6 additions and 12 deletions

View File

@ -1,9 +0,0 @@
%defattr (-,root,root)
%dir %{kernel_module_directory}/%2-%1/
%dir %{kernel_module_directory}/%2-%1/extra
%{kernel_module_directory}/%2-%1/extra/vboxdrv.ko
%{kernel_module_directory}/%2-%1/extra/vboxnetadp.ko
%{kernel_module_directory}/%2-%1/extra/vboxnetflt.ko
%{kernel_module_directory}/%2-%1/extra/vboxguest.ko
%{kernel_module_directory}/%2-%1/extra/vboxsf.ko
%{kernel_module_directory}/%2-%1/extra/vboxvideo.ko

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 14 00:33:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Use distro-default INSTALL_MOD_DIR.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 16 23:37:43 UTC 2024 - Jan Engelhardt <jengelh@inai.de> Wed Oct 16 23:37:43 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -71,7 +71,6 @@ Source0: VirtualBox-%{version}-patched.tpxz
Source1: UserManual.pdf Source1: UserManual.pdf
Source3: virtualbox-60-vboxguest.rules Source3: virtualbox-60-vboxguest.rules
Source4: virtualbox-default.virtualbox Source4: virtualbox-default.virtualbox
Source5: virtualbox-kmp-files
Source7: virtualbox-kmp-preamble Source7: virtualbox-kmp-preamble
Source8: update-extpack.sh Source8: update-extpack.sh
Source9: virtualbox-wrapper.sh Source9: virtualbox-wrapper.sh
@ -261,7 +260,7 @@ BuildRequires: libpulse-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
Requires: ca-certificates Requires: ca-certificates
Requires: openSUSE-signkey-cert Requires: openSUSE-signkey-cert
%kernel_module_package -p %{SOURCE7} -n virtualbox -f %{SOURCE5} -x kdump um xen pae xenpae pv %kernel_module_package -p %{SOURCE7} -n virtualbox -x kdump um xen pae xenpae pv
# end of kmp_package # end of kmp_package
%endif %endif
### Description and subpackages of virtualbox main package ### ### Description and subpackages of virtualbox main package ###
@ -1081,7 +1080,6 @@ done
%install %install
export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR=extra
#to install modules we use here similar steps like in build phase, go through all the modules : #to install modules we use here similar steps like in build phase, go through all the modules :
for module_name in vbox{drv,netflt,netadp,guest,sf,video} for module_name in vbox{drv,netflt,netadp,guest,sf,video}
do do