Changeset View
Changeset View
Standalone View
Standalone View
files/0001-Patch-out-notify-send-call.patch
| From 2e0ff0382eacd54d1d1054367ce80a72b4b95613 Mon Sep 17 00:00:00 2001 | From d0995d916a93326997f6eab3b86175ac4d7253e7 Mon Sep 17 00:00:00 2001 | ||||
| From: Joshua Strobl <joshua@stroblindustries.com> | From: Pierre-Yves <pyu@riseup.net> | ||||
| Date: Sun, 17 Mar 2019 16:23:27 +0200 | Date: Tue, 30 Apr 2019 17:51:45 +0200 | ||||
| Subject: [PATCH 1/1] Patch out notify-send call. | Subject: [PATCH] Patch out notify-send call | ||||
| Signed-off-by: Pierre-Yves <pyu@riseup.net> | |||||
| --- | --- | ||||
| src/VBox/Additions/x11/Installer/98vboxadd-xclient | 2 +- | src/VBox/Additions/x11/Installer/98vboxadd-xclient | 7 +------ | ||||
| 1 file changed, 1 insertion(+), 1 deletion(-) | 1 file changed, 1 insertion(+), 6 deletions(-) | ||||
| diff --git a/src/VBox/Additions/x11/Installer/98vboxadd-xclient b/src/VBox/Additions/x11/Installer/98vboxadd-xclient | diff --git a/src/VBox/Additions/x11/Installer/98vboxadd-xclient b/src/VBox/Additions/x11/Installer/98vboxadd-xclient | ||||
| index dcad1ce8..fef0a14f 100755 | index dcad1ce8..a4f5df7f 100755 | ||||
| --- a/src/VBox/Additions/x11/Installer/98vboxadd-xclient | --- a/src/VBox/Additions/x11/Installer/98vboxadd-xclient | ||||
| +++ b/src/VBox/Additions/x11/Installer/98vboxadd-xclient | +++ b/src/VBox/Additions/x11/Installer/98vboxadd-xclient | ||||
| @@ -25,7 +25,7 @@ if ! test -c /dev/vboxguest 2>/dev/null; then | @@ -21,12 +21,7 @@ for i in $HOME/.vboxclient-*.pid; do | ||||
| # Do not start if the kernel module is not present. | test -w $i || rm -f $i | ||||
| # Execute notify-send in the back-ground to avoid racing with sddm, | done | ||||
| # as notify-send may wait for sddm to start while it waits for us to exit. | |||||
| -if ! test -c /dev/vboxguest 2>/dev/null; then | |||||
| - # Do not start if the kernel module is not present. | |||||
| - # Execute notify-send in the back-ground to avoid racing with sddm, | |||||
| - # as notify-send may wait for sddm to start while it waits for us to exit. | |||||
| - notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." & | - notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." & | ||||
| + # notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." & | -elif test -z "${SSH_CONNECTION}"; then | ||||
| elif test -z "${SSH_CONNECTION}"; then | +if test -z "${SSH_CONNECTION}"; then | ||||
| # This script can also be triggered by a connection over SSH, which is not | # This script can also be triggered by a connection over SSH, which is not | ||||
| # what we had in mind, so we do not start VBoxClient in that case. We do | # what we had in mind, so we do not start VBoxClient in that case. We do | ||||
| # not use "exit" here as this script is "source"d, not executed. | |||||
| -- | -- | ||||
| 2.21.0 | 2.21.0 | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.