Accepting request 1062967 from Virtualization

OBS-URL: https://build.opensuse.org/request/show/1062967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=250
This commit is contained in:
Dominique Leuenberger 2023-02-04 13:11:03 +00:00 committed by Git OBS Bridge
commit 20cd0f81ab
5 changed files with 14 additions and 183 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
# script to disable USB passthru in /etc/udev/rules.d/60-vboxdrv.rules
# if already disabled, clear the comment character
sed -i 's/#SUBSYSTEM==\"usb/SUBSYSTEM==\"usb/' /etc/udev/rules.d/60-vboxdrv.rules
sed -i 's/#SUBSYSTEM==\"usb/SUBSYSTEM==\"usb/' /usr/lib/udev/rules.d/60-vboxdrv.rules
# now comment the usb lines
sed -i 's/SUBSYSTEM==\"usb/#SUBSYSTEM==\"usb/' /etc/udev/rules.d/60-vboxdrv.rules
sed -i 's/SUBSYSTEM==\"usb/#SUBSYSTEM==\"usb/' /usr/lib/udev/rules.d/60-vboxdrv.rules

View File

@ -9,7 +9,7 @@ Index: VirtualBox-7.0.6/src/VBox/Additions/linux/installer/vboxadd.sh
===================================================================
--- VirtualBox-7.0.6.orig/src/VBox/Additions/linux/installer/vboxadd.sh
+++ VirtualBox-7.0.6/src/VBox/Additions/linux/installer/vboxadd.sh
@@ -869,9 +869,11 @@ dmnstatus()
@@ -890,9 +890,11 @@ dmnstatus()
fi
}
@ -28,7 +28,7 @@ Index: VirtualBox-7.0.6/src/VBox/Installer/linux/vboxdrv.sh
===================================================================
--- VirtualBox-7.0.6.orig/src/VBox/Installer/linux/vboxdrv.sh
+++ VirtualBox-7.0.6/src/VBox/Installer/linux/vboxdrv.sh
@@ -48,6 +48,9 @@ DEVICE=/dev/vboxdrv
@@ -47,6 +47,9 @@ DEVICE=/dev/vboxdrv
MODPROBE=/sbin/modprobe
SCRIPTNAME=vboxdrv.sh

View File

@ -49,10 +49,10 @@ if [ -f ~/.config/VirtualBox/disable ] ; then
echo $INODE > ~/.config/VirtualBox/disable
if [ "$LINE" != "$INODE" ] ; then
if [ -f /usr/bin/kdesu ] ; then
kdesu /sbin/vbox-fix-usb-rules.sh
kdesu /usr/sbin/vbox-fix-usb-rules.sh
fi
if [ -f /usr/bin/gnomesu ] ; then
gnomesu /sbin/vbox-fix-usb-rules.sh
gnomesu /usr/sbin/vbox-fix-usb-rules.sh
fi
fi
fi

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 1 21:46:49 UTC 2023 - Larry Finger <Larry.Finger@gmail.com>
- Fix a few places that did not get updated for the transition from
/sbin => /usr/sbin, and /etc/udev => /usr/lib/udev. boo#1207736.
ldconfig has not been moved in Leap 15.4 - use /sbin for it.
-------------------------------------------------------------------
Tue Jan 24 20:15:06 UTC 2023 - Larry Rainey <llrainey15@gmail.com>

View File

@ -57,6 +57,7 @@ Summary: %{package_summary}
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
License: GPL-2.0-or-later
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: %{package_group}
URL: https://www.virtualbox.org/
#
@ -297,28 +298,6 @@ the terms of the GNU Public License (GPL).
##########################################
%package qt
@ -339,28 +318,6 @@ This package contains the code for the GUI used to control VMs.
#########################################
%package websrv
@ -376,29 +333,6 @@ The VirtualBox web server is used to control headless VMs using a browser.
###########################################
%package guest-tools
Summary: VirtualBox guest tools
@ -422,28 +356,6 @@ VirtualBox guest addition tools.
###########################################
%package -n python3-%{name}
@ -465,28 +377,6 @@ Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package.
###########################################
%package devel
@ -503,28 +393,6 @@ Development file for %{name}
###########################################
%package host-source
@ -558,28 +426,6 @@ sudo %{_sbindir}/vboxguestconfig
###########################################
%package guest-desktop-icons
@ -594,28 +440,6 @@ This package contains icons for guest desktop files that were created on the des
###########################################
%package vnc