summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/dkms/files/dkms-3.1.0-cleanup-leftover-cmd.patch')
-rw-r--r--sys-kernel/dkms/files/dkms-3.1.0-cleanup-leftover-cmd.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-kernel/dkms/files/dkms-3.1.0-cleanup-leftover-cmd.patch b/sys-kernel/dkms/files/dkms-3.1.0-cleanup-leftover-cmd.patch
new file mode 100644
index 000000000000..cec0cba6161a
--- /dev/null
+++ b/sys-kernel/dkms/files/dkms-3.1.0-cleanup-leftover-cmd.patch
@@ -0,0 +1,26 @@
+From c0af71e5454214fc9d2b995b9aa45937fe1f3eb2 Mon Sep 17 00:00:00 2001
+From: Simone Caronni <negativo17@gmail.com>
+Date: Sat, 5 Oct 2024 17:06:59 +0200
+Subject: [PATCH] Remove last remnants of log_action_msg from
+ dkms_autoinstaller.in
+
+---
+ dkms_autoinstaller.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/dkms_autoinstaller.in b/dkms_autoinstaller.in
+index 31c382e..358e3d1 100755
+--- a/dkms_autoinstaller.in
++++ b/dkms_autoinstaller.in
+@@ -59,9 +59,9 @@ case "$1" in
+ kernel=$(uname -r)
+ fi
+ if [ -f /etc/dkms/no-autoinstall ]; then
+- log_action_msg "Automatic installation of modules has been disabled."
++ echo "Automatic installation of modules has been disabled."
+ elif ! _check_kernel_dir $kernel; then
+- log_action_msg "Automatic installation of modules for kernel $kernel was skipped since the kernel headers for this kernel do not seem to be installed."
++ echo "Automatic installation of modules for kernel $kernel was skipped since the kernel headers for this kernel do not seem to be installed."
+ else
+ dkms autoinstall --kernelver $kernel
+ res=$?