From a3cf3f85efeea68fcbb224fadd0cf80f0ba2e98daf50353345ec58e17ea6637e Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 3 Oct 2017 13:06:25 +0000 Subject: [PATCH] - Make additional change specified in bsc#1060072. Moving VBoxSDL and VBoxSDL.so from package virtualbox to virtualbox-qt removes an additional need to load the libqt* binaries on a text-only installation running headless VMs. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=369 --- virtualbox.changes | 7 +++++++ virtualbox.spec | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index 28125be..11e648e 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 3 13:02:28 UTC 2017 - Larry.Finger@lwfinger.net + +- Make additional change specified in bsc#1060072. Moving VBoxSDL and VBoxSDL.so from package + virtualbox to virtualbox-qt removes an additional need to load the libqt* binaries on a + text-only installation running headless VMs. + ------------------------------------------------------------------- Mon Sep 25 20:15:56 UTC 2017 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index 4f13b61..d7a3b42 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -594,6 +594,7 @@ install -m 755 VBoxBalloonCtrl %{buildroot}%{_vbox_instdir} install -m 755 webtest %{buildroot}%{_vbox_instdir} install -m 755 VBoxDTrace %{buildroot}%{_vbox_instdir} install -m 755 VBoxDbg.so %{buildroot}%{_vbox_instdir} +install -m 755 VBoxSDL.so %{buildroot}%{_vbox_instdir} # create links to vbox tools in PATH - they could be usefull for controlling vbox from command line ln -s %{_vbox_instdir}/VBoxManage %{buildroot}%{_bindir}/VBoxManage ln -s %{_vbox_instdir}/VBoxHeadless %{buildroot}%{_bindir}/VBoxHeadless @@ -746,21 +747,21 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf %set_permissions %{_vbox_instdir}/VBoxNetDHCP %set_permissions %{_vbox_instdir}/VBoxNetAdpCtl %set_permissions %{_vbox_instdir}/VBoxHeadless -%set_permissions %{_vbox_instdir}/VBoxSDL %service_add_post vboxdrv.service %post qt %set_permissions %{_vbox_instdir}/VirtualBox +%set_permissions %{_vbox_instdir}/VBoxSDL %verifyscript %verify_permissions -e %{_vbox_instdir}/VBoxNetNAT %verify_permissions -e %{_vbox_instdir}/VBoxNetDHCP %verify_permissions -e %{_vbox_instdir}/VBoxNetAdpCtl %verify_permissions -e %{_vbox_instdir}/VBoxHeadless -%verify_permissions -e %{_vbox_instdir}/VBoxSDL %verifyscript qt %verify_permissions -e %{_vbox_instdir}/VirtualBox +%verify_permissions -e %{_vbox_instdir}/VBoxSDL %post guest-tools %service_add_post vboxadd-service.service @@ -820,7 +821,6 @@ export DISABLE_RESTART_ON_UPDATE=yes %doc UserManual.pdf %{_bindir}/VBoxManage %{_bindir}/VBoxHeadless -%{_bindir}/VBoxSDL %{_bindir}/VBoxTunctl %dir %{_vbox_instdir} %{_vbox_instdir}/VBoxAutostart @@ -844,7 +844,6 @@ export DISABLE_RESTART_ON_UPDATE=yes %{_vbox_instdir}/VBoxOGLrenderspu.so %{_vbox_instdir}/VBoxREM*.so %{_vbox_instdir}/VBoxRT.so -%{_vbox_instdir}/VBoxSDL.so %{_vbox_instdir}/VBoxSharedClipboard.so %{_vbox_instdir}/VBoxSharedCrOpenGL.so %{_vbox_instdir}/VBoxSharedFolders.so @@ -894,13 +893,13 @@ export DISABLE_RESTART_ON_UPDATE=yes %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxHeadless -%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxSDL %files qt %defattr(-, root, root) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxUSB_DevRules %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VirtualBox +%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxSDL #wrapper script is in bindir %attr(0755,root,root) %{_bindir}/VirtualBox #rules fixing script is in /sbin @@ -911,6 +910,8 @@ export DISABLE_RESTART_ON_UPDATE=yes %{_datadir}/virtualbox/nls %{_vbox_instdir}/VirtualBox.so %{_vbox_instdir}/VBoxDbg.so +%{_bindir}/VBoxSDL +%{_vbox_instdir}/VBoxSDL.so %{_datadir}/pixmaps/virtualbox.png %{_datadir}/applications/%{name}.desktop %{_udevrulesdir}/60-vboxdrv.rules