summaryrefslogtreecommitdiffstats
path: root/debian/patches/13-module-mismatch.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:34 +0000
commit8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0 (patch)
tree041e487e60a900d7d85f57307892acb586640822 /debian/patches/13-module-mismatch.patch
parentAdding upstream version 7.0.14-dfsg. (diff)
downloadvirtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.tar.xz
virtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.zip
Adding debian version 7.0.14-dfsg-4.debian/7.0.14-dfsg-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/13-module-mismatch.patch')
-rw-r--r--debian/patches/13-module-mismatch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/13-module-mismatch.patch b/debian/patches/13-module-mismatch.patch
new file mode 100644
index 00000000..daf70995
--- /dev/null
+++ b/debian/patches/13-module-mismatch.patch
@@ -0,0 +1,22 @@
+Description: Adjusts failure message with Debian specific solution.
+Author: Daniel Baumann <daniel@debian.org>
+
+Index: virtualbox/src/VBox/VMM/VMMR3/VM.cpp
+===================================================================
+--- virtualbox.orig/src/VBox/VMM/VMMR3/VM.cpp
++++ virtualbox/src/VBox/VMM/VMMR3/VM.cpp
+@@ -399,9 +399,11 @@
+ break;
+ case VERR_VERSION_MISMATCH:
+ case VERR_VM_DRIVER_VERSION_MISMATCH:
+- pszError = N_("The VirtualBox support driver which is running is from a different "
+- "version of VirtualBox. You can correct this by stopping all "
+- "running instances of VirtualBox and reinstalling the software.");
++ pszError = N_("The version of the VirtualBox kernel modules and the version of "
++ "VirtualBox application are not matching. You can correct this by "
++ "either installing the correct virtualbox-modules package "
++ "(if available) through apt-get or by building it manually with: "
++ "module-assistant auto-install virtualbox");
+ break;
+ default:
+ pszError = N_("Unknown error initializing kernel driver");