forked from pool/virtualbox
Accepting request 306208 from home:bmwiedemann:branches:Virtualization
Provide host-kmp src for use with custom kernels (bnc#925663) now also requires gcc+make at runtime for building OBS-URL: https://build.opensuse.org/request/show/306208 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=188
This commit is contained in:
parent
89ff2d9dac
commit
fcec7bc030
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 10 10:47:58 UTC 2015 - bwiedemann@suse.com
|
||||
|
||||
- Provide host-kmp src for use with custom kernels (bnc#925663)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 20:35:29 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
@ -253,6 +253,20 @@ Obsoletes: %{name}-ose-devel < %{version}
|
||||
Development file for %{name}
|
||||
###########################################
|
||||
|
||||
%package host-source
|
||||
Summary: Source files for %{name} kernel modules
|
||||
Group: Development/Sources
|
||||
Requires: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
Requires: gcc
|
||||
Requires: make
|
||||
|
||||
%description host-source
|
||||
Source files for %{name} kernel modules
|
||||
These can be built for custom kernels using
|
||||
cd /usr/src/kernel-modules/virtualbox ; make ; make install
|
||||
###########################################
|
||||
|
||||
%package guest-desktop-icons
|
||||
Summary: Icons for guest desktop files
|
||||
Group: System/Emulators/PC
|
||||
@ -471,6 +485,9 @@ install -m 644 *.r0 %{buildroot}%{_vbox_instdir}
|
||||
install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/
|
||||
# install languages
|
||||
install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/
|
||||
# install kmp src
|
||||
mkdir -p %{buildroot}%{_usrsrc}/kernel-modules
|
||||
cp -a src %{buildroot}%{_usrsrc}/kernel-modules/virtualbox
|
||||
popd
|
||||
|
||||
# install desktop file
|
||||
@ -763,6 +780,11 @@ exit 0
|
||||
%{_vbox_instdir}/sdk/bindings/xpcom/samples
|
||||
%{_vbox_instdir}/sdk/bindings/auth
|
||||
|
||||
%files host-source
|
||||
%defattr(-,root, root)
|
||||
%dir %{_usrsrc}/kernel-modules
|
||||
%{_usrsrc}/kernel-modules/virtualbox
|
||||
|
||||
%files websrv
|
||||
%defattr(-,root, root)
|
||||
%{_vbox_instdir}/vboxwebsrv
|
||||
|
Loading…
Reference in New Issue
Block a user