Accepting request 1008894 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1008894 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=244
This commit is contained in:
commit
8b8f0d439a
20
fix_error_in_USB_header.patch
Normal file
20
fix_error_in_USB_header.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Index: a/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
|
||||||
|
===================================================================
|
||||||
|
--- a/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
|
||||||
|
+++ a/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
|
||||||
|
@@ -90,7 +90,6 @@ typedef struct USBPROXYURBLNX
|
||||||
|
# pragma GCC diagnostic push
|
||||||
|
# pragma GCC diagnostic ignored "-Wpedantic"
|
||||||
|
#endif
|
||||||
|
- struct usbdevfs_urb KUrb;
|
||||||
|
#if RT_GNUC_PREREQ(6, 0)
|
||||||
|
# pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
@@ -110,6 +109,7 @@ typedef struct USBPROXYURBLNX
|
||||||
|
bool fDiscarded;
|
||||||
|
/** Size to transfer in remaining fragments of a split URB */
|
||||||
|
uint32_t cbSplitRemaining;
|
||||||
|
+ struct usbdevfs_urb KUrb; /* This entry MUST be last */
|
||||||
|
} USBPROXYURBLNX, *PUSBPROXYURBLNX;
|
||||||
|
|
||||||
|
/**
|
@ -94,7 +94,7 @@ udev_write_vboxdrv() {
|
|||||||
VBOXDRV_MODE="$2"
|
VBOXDRV_MODE="$2"
|
||||||
|
|
||||||
echo "KERNEL==\"vboxdrv\", NAME=\"vboxdrv\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\""
|
echo "KERNEL==\"vboxdrv\", NAME=\"vboxdrv\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\""
|
||||||
echo "KERNEL==\"vboxdrvu\", NAME=\"vboxdrvu\", OWNER=\"root\", GROUP=\"root\", MODE=\"0666\""
|
echo "KERNEL==\"vboxdrvu\", NAME=\"vboxdrvu\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"0660\""
|
||||||
echo "KERNEL==\"vboxnetctl\", NAME=\"vboxnetctl\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\""
|
echo "KERNEL==\"vboxnetctl\", NAME=\"vboxnetctl\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
|
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"
|
||||||
KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0660"
|
KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="vboxusers", MODE="0660"
|
||||||
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
|
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660"
|
||||||
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
|
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
|
||||||
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
|
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
|
||||||
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
|
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660" ENV{ID_INPUT}="1", ENV{ID_INPUT_MOUSE}="1"
|
KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660" ENV{ID_INPUT}="1", ENV{ID_INPUT_MOUSE}="1"
|
||||||
KERNEL=="vboxuser", NAME="vboxuser", OWNER="vboxadd", MODE="0660"
|
KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0660", TAG+="uaccess"
|
||||||
#KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0660", TAG+="uaccess"
|
|
||||||
|
|
||||||
ACTION=="add|change", SUBSYSTEM=="drm", KERNEL=="card[0-9]", SUBSYSTEMS=="pci", ATTRS{vendor}=="0x15ad", ATTRS{device}=="0x0405", TAG+="systemd", ENV{SYSTEMD_WANTS}="vboxclient.service"
|
ACTION=="add|change", SUBSYSTEM=="drm", KERNEL=="card[0-9]", SUBSYSTEMS=="pci", ATTRS{vendor}=="0x15ad", ATTRS{device}=="0x0405", TAG+="systemd", ENV{SYSTEMD_WANTS}="vboxclient.service"
|
||||||
|
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 8 00:49:59 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Fix build breakage with kernel 6.0 due to variable-length array in middle of a struct. boo#1204151
|
||||||
|
File "fix_error_in_USB_header.patch" is added.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 5 17:28:00 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Fix boo#1204019 VBoxClient: VbglR3InitUser failed: VERR_ACCESS_DENIED
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 27 17:23:12 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
Tue Sep 27 17:23:12 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
@ -173,6 +173,7 @@ Patch137: handle_gsoap_208103.patch
|
|||||||
Patch142: fixes_for_leap15.3.patch
|
Patch142: fixes_for_leap15.3.patch
|
||||||
Patch143: vb-6.1.16-modal-dialog-parent.patch
|
Patch143: vb-6.1.16-modal-dialog-parent.patch
|
||||||
Patch144: fixes_for_leap15.4.patch
|
Patch144: fixes_for_leap15.4.patch
|
||||||
|
Patch145: fix_error_in_USB_header.patch
|
||||||
Patch999: virtualbox-fix-ui-background-color.patch
|
Patch999: virtualbox-fix-ui-background-color.patch
|
||||||
#
|
#
|
||||||
# Common BuildRequires for both virtualbox and virtualbox-kmp
|
# Common BuildRequires for both virtualbox and virtualbox-kmp
|
||||||
@ -531,6 +532,7 @@ This package contains the kernel-modules that VirtualBox uses to create or run v
|
|||||||
%patch144 -p1
|
%patch144 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch143 -p1
|
%patch143 -p1
|
||||||
|
%patch145 -p1
|
||||||
# make VB UI background colors look sane again
|
# make VB UI background colors look sane again
|
||||||
%patch999 -p1
|
%patch999 -p1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user