forked from pool/virtualbox
Accepting request 57210 from home:mseben:branches:Virtualization
- fix rcvboxdrv setup - we disallow building of kernel modules from sources - added rcvboxdrv, rcvboxadd files OBS-URL: https://build.opensuse.org/request/show/57210 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=14
This commit is contained in:
parent
e2515b05e3
commit
a1a5847c08
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 5 08:16:35 UTC 2011 - mseben@gmail.com
|
||||
|
||||
- fix rcvboxdrv setup - we disallow building of kernel modules from sources
|
||||
- added rcvboxdrv, rcvboxadd files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 31 22:41:25 UTC 2010 - mseben@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package virtualbox (Version 4.0.0)
|
||||
# spec file for package virtualbox (Version 3.9.80)
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -117,6 +117,7 @@ Provides: %{name}-ose:/usr/lib/virtualbox/VirtualBox.so
|
||||
Provides: %{name}-ose-qt = %version
|
||||
Obsoletes: %{name}-ose-qt < %version
|
||||
|
||||
|
||||
%description qt
|
||||
Qt GUI part for %{name}.
|
||||
#########################################
|
||||
@ -169,7 +170,6 @@ VirtualBox guest addition tools.
|
||||
###########################################
|
||||
%package -n python-%{name}
|
||||
|
||||
|
||||
Summary: Python bindings for %{name}
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
@ -325,6 +325,8 @@ echo "entering guest-tools install section"
|
||||
%{buildroot}/sbin/mount.vboxsf
|
||||
%__install -m 744 src/VBox/Additions/linux/installer/vboxadd.sh \
|
||||
%{buildroot}%{_sysconfdir}/init.d/vboxadd
|
||||
%__ln_s %{_sysconfdir}/init.d/vboxadd \
|
||||
%{buildroot}%{_sbindir}/rcvboxadd
|
||||
# udev rule for guest (virtualbox-guest-tools)
|
||||
%__install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/udev/rules.d/60-vboxguest.rules
|
||||
#
|
||||
@ -421,18 +423,20 @@ popd
|
||||
%__install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/udev/rules.d/60-vboxdrv.rules
|
||||
# install config with session shutdown defs
|
||||
%__install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/default/virtualbox
|
||||
# copy the init scripts
|
||||
#install wrapper script
|
||||
%__install -m 644 %{S:9} %{buildroot}%{_bindir}/VirtualBox
|
||||
# modify and install the vboxdrv init script
|
||||
%__sed -i "s|%NOLSB%|yes|g;s|%DEBIAN%||g;s|%PACKAGE%|virtualbox|g" src/VBox/Installer/linux/vboxdrv.sh.in
|
||||
%__install -m 744 src/VBox/Installer/linux/vboxdrv.sh.in \
|
||||
%{buildroot}%{_sysconfdir}/init.d/vboxdrv
|
||||
#install wrapper script
|
||||
%__install -m 644 %{S:9} %{buildroot}%{_bindir}/VirtualBox
|
||||
|
||||
%__ln_s %{_sysconfdir}/init.d/vboxdrv \
|
||||
%{buildroot}%{_sbindir}/rcvboxdrv
|
||||
# Init script to start virtual boxes during boot
|
||||
%__install -m 755 %{S:12} %{buildroot}%{_sysconfdir}/init.d/vboxes
|
||||
%__ln_s %{_sysconfdir}/init.d/vboxes %{buildroot}%{_sbindir}/rcvboxes
|
||||
%__install -d -m 755 %buildroot%_var/adm/fillup-templates
|
||||
install -m 700 %{S:13} %buildroot%_var/adm/fillup-templates/sysconfig.vbox
|
||||
%__install -m 755 %{S:12} %{buildroot}%{_sysconfdir}/init.d/vboxes
|
||||
%__ln_s %{_sysconfdir}/init.d/vboxes \
|
||||
%{buildroot}%{_sbindir}/rcvboxes
|
||||
%__install -d -m 755 %{buildroot}%{_var}/adm/fillup-templates
|
||||
install -m 700 %{S:13} %{buildroot}%{_var}/adm/fillup-templates/sysconfig.vbox
|
||||
|
||||
%suse_update_desktop_file -i %{name} System Emulator
|
||||
|
||||
@ -548,6 +552,7 @@ exit 0
|
||||
%{_sysconfdir}/init.d/vboxes
|
||||
%{_var}/adm/fillup-templates/sysconfig.vbox
|
||||
%{_sbindir}/rcvboxes
|
||||
%{_sbindir}/rcvboxdrv
|
||||
#check setuid bit
|
||||
%if %suse_version > 1110
|
||||
%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl
|
||||
@ -601,8 +606,8 @@ exit 0
|
||||
/sbin/mount.vboxsf
|
||||
%config %{_sysconfdir}/udev/rules.d/60-vboxguest.rules
|
||||
%config %{_sysconfdir}/init.d/vboxadd
|
||||
%{_sbindir}/rcvboxadd
|
||||
#
|
||||
|
||||
%files -n python-%{name}
|
||||
%defattr(-,root, root)
|
||||
%dir %{_vbox_instdir}/sdk
|
||||
|
Loading…
Reference in New Issue
Block a user