[VirtualBox-kmod/el8: 4/4] update update_vbox.sh
by Sérgio M. Basto
commit 0859a95e9880db694bd2af5ad6e2079dd17a2776
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Dec 14 16:09:57 2022 +0000
update update_vbox.sh
update_vbox.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/update_vbox.sh b/update_vbox.sh
index f1787ec..4d0a3fc 100755
--- a/update_vbox.sh
+++ b/update_vbox.sh
@@ -1,7 +1,7 @@
VERSION=7.0.4
-REL=1
+REL=2
RAWHIDE=38
-REPOS="f37 f36 f35 el9 el8 el7"
+REPOS="f37 f36 el9 el8 el7"
if [ -z "$1" ]
then
1 year, 11 months
[VirtualBox-kmod/el8] (4 commits) ...update update_vbox.sh
by Sérgio M. Basto
Summary of changes:
3fc1c84... Update to 7.0.2 (*)
64cc8ac... Update to 7.0.4 (*)
8ac412a... Fix for rfbz #6519 (*)
0859a95... update update_vbox.sh
(*) This commit already existed in another branch; no separate mail sent
1 year, 11 months
[VirtualBox-kmod] Fix for rfbz #6519
by Sérgio M. Basto
commit 8ac412ae1107fac783dbcedf158ae7f455a4547a
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Dec 14 15:53:21 2022 +0000
Fix for rfbz #6519
VirtualBox-kmod.spec | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 8744177..100cbc0 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -30,9 +30,13 @@
%global prereltag %{?prerel:_%(awk 'BEGIN {print toupper("%{prerel}")}')}
-%global vboxrel 1
-
-%global vboxreltag %{?vboxrel:-%{vboxrel}}
+# With commit ad2a3ad54f4ecd07e40a6de590a8b16de5ac34df on Sep 23 2012
+# vboxreltag was made to guarantee one kmodsrc with a minimum releaseversion,
+# but most of the times we may patch the kmodsrc here
+# And we don't need control the releaseversion (if is 6.1.40-1 or 6.1.40-2)
+# on other hand, fix the version of VirtualBox using = instead >= may be useful
+# because akomd will require the exact version that it is prepared for
+# https://bugzilla.rpmfusion.org/show_bug.cgi?id=6519
Name: VirtualBox-kmod
Version: 7.0.4
@@ -47,7 +51,7 @@ Source1: excludekernel-filter.txt
Patch2: cs9.v2.patch
-%global AkmodsBuildRequires %{_bindir}/kmodtool VirtualBox-kmodsrc >= %{version}%{vboxreltag} xz time elfutils-libelf-devel gcc
+%global AkmodsBuildRequires %{_bindir}/kmodtool VirtualBox-kmodsrc = %{version} xz time elfutils-libelf-devel gcc
BuildRequires: %{AkmodsBuildRequires}
ExclusiveArch: x86_64
@@ -135,6 +139,7 @@ DIRS=$(ls %{name}-%{version} |wc -l)
%changelog
* Sat Nov 19 2022 Sérgio Basto <sergio(a)serjux.com> - 7.0.4-1
- Update to 7.0.4
+- Fix for rfbz #6519
* Tue Nov 01 2022 Sérgio Basto <sergio(a)serjux.com> - 7.0.2-1
- Update to 7.0.2
1 year, 11 months
[VirtualBox] we should restart vboxdrv just after akmods builds
by Sérgio M. Basto
commit 7faa5ed40864b93ef5fb54e223701856db38ad5f
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Dec 14 11:38:33 2022 +0000
we should restart vboxdrv just after akmods builds
VirtualBox.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index e5c247f..1aff0ac 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -46,7 +46,7 @@
Name: VirtualBox
Version: 7.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A general-purpose full virtualizer for PC hardware
License: GPLv2 or (GPLv2 and CDDL)
@@ -700,7 +700,7 @@ fi
%systemd_preun vboxdrv.service
%postun server
-%systemd_postun_with_restart vboxdrv.service
+%systemd_postun vboxdrv.service
%triggerun -- VirtualBox-server < 0:6.1.10-4
/usr/bin/systemctl --no-reload preset vboxdrv.service || :
@@ -905,6 +905,9 @@ getent passwd vboxadd >/dev/null || \
%{_datadir}/%{name}-kmod-%{version}
%changelog
+* Wed Dec 14 2022 Sérgio Basto <sergio(a)serjux.com> - 7.0.4-2
+- we should restart vboxdrv just after akmods builds
+
* Sat Nov 19 2022 Sérgio Basto <sergio(a)serjux.com> - 7.0.4-1
- Update VirtualBox to 7.0.4
- Drop system-libs.patch and fix-build.patch already upstreamed
1 year, 11 months