commit 9a84a2cb78a45f54b6304e081e98f1575bb77357
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Wed Apr 17 12:57:40 2019 +0300
Update added updated strings patch.
VirtualBox-6.0.6-strings.patch | 109 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 109 insertions(+)
---
diff --git a/VirtualBox-6.0.6-strings.patch b/VirtualBox-6.0.6-strings.patch
new file mode 100644
index 0000000..d40542c
--- /dev/null
+++ b/VirtualBox-6.0.6-strings.patch
@@ -0,0 +1,109 @@
+diff -uNdr VirtualBox-6.0.6_orig/src/VBox/Frontends/VirtualBox/src/main.cpp
VirtualBox-6.0.6_new/src/VBox/Frontends/VirtualBox/src/main.cpp
+--- VirtualBox-6.0.6_orig/src/VBox/Frontends/VirtualBox/src/main.cpp 2019-04-16
13:16:21.000000000 +0300
++++ VirtualBox-6.0.6_new/src/VBox/Frontends/VirtualBox/src/main.cpp 2019-04-17
11:53:03.382274383 +0300
+@@ -86,10 +86,12 @@
+ );
+
+ QString g_QStrHintLinuxNoDriver = QApplication::tr(
+- "The VirtualBox Linux kernel driver is either not loaded or not set "
+- "up correctly. Please try setting it up again by
executing<br/><br/>"
+- " <font
color=blue>'/sbin/vboxconfig'</font><br/><br/>"
+- "as root.<br/><br/>"
++ "The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded."
++ "You may not have kernel driver installed for kernel that is runnig, if so you
may do as root:"
++ " <font color=blue>dnf install akmod-VirtualBox kernel-devel-$(uname
-r)</font>"
++ "If you installed VirtualBox packages and don't want reboot the system, you
may need load the "
++ "kernel driver, doing as root:"
++ " <font color=blue>akmods; systemctl restart
systemd-modules-load.service</font><br/><br/>"
+ "If your system has EFI Secure Boot enabled you may also need to sign "
+ "the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before "
+ "you can load them. Please see your Linux system's documentation for
"
+@@ -99,9 +101,12 @@
+ QString g_QStrHintOtherWrongDriverVersion = QApplication::tr(
+ "The VirtualBox kernel modules do not match this version of "
+ "VirtualBox. The installation of VirtualBox was apparently not "
+- "successful. Please try completely uninstalling and reinstalling "
+- "VirtualBox."
+- );
++ "successful. Executing<br/><br/>"
++ " <font color=blue>rmmod vboxnetadp vboxnetflt vboxpci vboxdrv;
systemctl restart systemd-modules-load.service</font> as
root<br/><br/>"
++ "may correct this. Make sure that you do not mix the "
++ "RPMFusion version and the Oracle version of VirtualBox."
++
++);
+
+ QString g_QStrHintLinuxWrongDriverVersion = QApplication::tr(
+ "The VirtualBox kernel modules do not match this version of "
+@@ -116,9 +121,9 @@
+ "Make sure the kernel module has been loaded successfully."
+ );
+
+-/* I hope this isn't (C), (TM) or (R) Microsoft support ;-) */
++/* We're going to try to give a helping hand */
+ QString g_QStrHintReinstall = QApplication::tr(
+- "Please try reinstalling VirtualBox."
++ "Please report the problem to the RPM Fusion Bugzilla."
+ );
+
+
+diff -uNdr VirtualBox-6.0.6_orig/src/VBox/Installer/linux/VBox.sh
VirtualBox-6.0.6_new/src/VBox/Installer/linux/VBox.sh
+--- VirtualBox-6.0.6_orig/src/VBox/Installer/linux/VBox.sh 2019-04-16 13:16:46.000000000
+0300
++++ VirtualBox-6.0.6_new/src/VBox/Installer/linux/VBox.sh 2019-04-17 11:53:03.406273504
+0300
+@@ -60,19 +60,24 @@
+ cat << EOF
+ WARNING: The vboxdrv kernel module is not loaded. Either there is no module
+ available for the current kernel (`uname -r`) or it failed to
+- load. Please recompile the kernel module and install it by
++ load. Please try load the kernel module by executing as root
+
+- sudo /sbin/vboxconfig
++ dnf install akmod-VirtualBox kernel-devel-$(uname -r)
++ akmods --kernels $(uname -r) && systemctl restart
systemd-modules-load.service
+
+ You will not be able to start VMs until this problem is fixed.
+ EOF
+ elif [ ! -c /dev/vboxdrv ]; then
+ cat << EOF
+ WARNING: The character device /dev/vboxdrv does not exist. Try
++install the kernel module by executing as root
+
+- sudo /sbin/vboxconfig
++ dnf install akmod-VirtualBox kernel-devel-$(uname -r)
++ akmods --kernels $(uname -r) && systemctl restart
systemd-modules-load.service
+
+- and if that is not successful, try to re-install the package.
++ and if that is not successful, try see if
++
http://rpmfusion.org/Howto/VirtualBox have any solution or contact
++ RPMFusion by Mailing Lists, IRC or Bugzilla.
+
+ You will not be able to start VMs until this problem is fixed.
+ EOF
+diff -uNdr VirtualBox-6.0.6_orig/src/VBox/VMM/VMMR3/VM.cpp
VirtualBox-6.0.6_new/src/VBox/VMM/VMMR3/VM.cpp
+--- VirtualBox-6.0.6_orig/src/VBox/VMM/VMMR3/VM.cpp 2019-04-16 13:17:42.000000000 +0300
++++ VirtualBox-6.0.6_new/src/VBox/VMM/VMMR3/VM.cpp 2019-04-17 11:53:03.396273870 +0300
+@@ -342,9 +342,9 @@
+ pszError = N_("VirtualBox kernel driver not loaded. The vboxdrv
kernel module "
+ "was either not loaded, /dev/vboxdrv is not set
up properly, "
+ "or you are using EFI Secure Boot and the module
is not signed "
+- "in the right way for your system. If necessary,
try setting up "
+- "the kernel module again by executing "
+- "'/sbin/vboxconfig' as root");
++ "in the right way for your system."
++ "Load the kernel module by executing "
++ "'systemctl restart
systemd-modules-load.service' as root");
+ #else
+ pszError = N_("VirtualBox kernel driver not loaded");
+ #endif
+@@ -386,9 +386,9 @@
+ pszError = N_("VirtualBox kernel driver not Installed. The
vboxdrv kernel module "
+ "was either not loaded, /dev/vboxdrv is not set
up properly, "
+ "or you are using EFI Secure Boot and the module
is not signed "
+- "in the right way for your system. If necessary,
try setting up "
+- "the kernel module again by executing "
+- "'/sbin/vboxconfig' as root");
++ "in the right way for your system."
++ "Install the kernel module by executing 'dnf
install akmod-VirtualBox kernel-devel-$(uname -r)'"
++ "and 'akmods --kernels $(uname -r) &&
systemctl restart systemd-modules-load.service' as root");
+ #else
+ pszError = N_("VirtualBox kernel driver not installed");
+ #endif