1
0
forked from jengelh/virtualbox

Accepting request 833132 from home:lwfinger:branches:Virtualization

- Remove symbols that forced rebuild of initrd
- Version update to 6.1.14 (released September 04 2020 by Oracle)
  File "fix_virtio_build.patch" is added to fix a build problem.
  This is a maintenance release. The following items were fixed and/or added:
  GUI: Fixes file name changes in the File location field when creating Virtual Hard Disk (bug #19286)
  VMM: Fixed running VMs which failed to start with VERR_NEM_MISSING_KERNEL_API_2 when Hyper-V is used (bug #19779 and #19804)
  Audio: fix regression in HDA emulation introduced in 6.1.0
  Shared Clipboard: Fixed a potential crash when copying HTML data (6.1.2 regression; bug #19226)
  Linux host and guest: Linux kernel version 5.8 support
  EFI: Fixed reading ISO9660 filesystems on attached media (6.1.0 regression; bug #19682)
  EFI: Support booting from drives attached to the LsiLogic SCSI and SAS controller emulations

OBS-URL: https://build.opensuse.org/request/show/833132
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=570
This commit is contained in:
Larry Finger
2020-09-09 13:44:15 +00:00
committed by Git OBS Bridge
parent 245cab47c0
commit 037ec0118a
16 changed files with 405 additions and 272 deletions

View File

@@ -66,7 +66,7 @@ python3 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile
# ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
Name: virtualbox%{?dash}%{?name_suffix}
Version: 6.1.13
Version: 6.1.14
Release: 0
Summary: %{package_summary}
License: GPL-2.0-or-later
@@ -181,6 +181,7 @@ Patch136: fixes_for_gcc10.patch
Patch137: handle_gsoap_208103.patch
# Fixes for kernel 5.9
Patch138: fixes_for_5.9.patch
Patch998: fix_virtio_build.patch
Patch999: virtualbox-fix-ui-background-color.patch
#
@@ -505,6 +506,7 @@ This package contains the kernel-modules that VirtualBox uses to create or run v
%patch136 -p1
%patch137 -p1
%patch138 -p1
%patch998 -p1
# make VB UI background colors look sane again
%patch999 -p1
@@ -680,6 +682,7 @@ install -m 755 VBoxEFI*.fd %{buildroot}%{_vbox_instdir}
install -m 755 VBoxSysInfo.sh %{buildroot}%{_vbox_instdir}
install -m 644 *.so %{buildroot}%{_vbox_instdir}
install -m 644 *.r0 %{buildroot}%{_vbox_instdir}
rm components/VBoxREM.so
install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/
# install languages
install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/
@@ -709,9 +712,9 @@ install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/default/virtualbox
install -m 644 %{SOURCE9} %{buildroot}%{_bindir}/VirtualBox
install -m 644 %{SOURCE8} %{buildroot}%{_bindir}/update-extpack.sh
# Service files to load kernel modules on boot
install -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}/vboxdrv.service
install -m 0644 %{SOURCE14} %{buildroot}%{_unitdir}/vboxdrv.service
ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rcvboxdrv
install -m 0644 %{SOURCE15} %{buildroot}%{_unitdir}/vboxadd-service.service
install -m 0644 %{SOURCE15} %{buildroot}%{_unitdir}/vboxadd-service.service
install -m 0755 %{SOURCE16} %{buildroot}/sbin/vboxconfig
install -m 0755 %{SOURCE17} %{buildroot}/sbin/vboxguestconfig
install -m 0755 %{SOURCE18} %{buildroot}/sbin/vbox-fix-usb-rules.sh
@@ -1212,9 +1215,6 @@ done
%install
export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR=extra
#Keep the install process from calling mkinitrd. The VB kernel modules are not in initrd. bsc#1052428
export INITRD_IN_POSTTRANS=1
export KMP_NEEDS_MKINITRD=0
#to install modules we use here similar steps like in build phase, go through all the modules :
for module_name in vbox{drv,netflt,netadp,guest,sf,video}
do