diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:20:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:20:55 +0000 |
commit | 751abe5af6e60af060ea7979512574d903a49eb0 (patch) | |
tree | 991d21305c4f60a4b0c13964436f8b8e08fee34b /debian/patches/0005-use-log_action_msg-instead-of-log_daemon_msg-w-o-log.patch | |
parent | Adding upstream version 3.0.10. (diff) | |
download | dkms-751abe5af6e60af060ea7979512574d903a49eb0.tar.xz dkms-751abe5af6e60af060ea7979512574d903a49eb0.zip |
Adding debian version 3.0.10-8+deb12u1.debian/3.0.10-8+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0005-use-log_action_msg-instead-of-log_daemon_msg-w-o-log.patch')
-rw-r--r-- | debian/patches/0005-use-log_action_msg-instead-of-log_daemon_msg-w-o-log.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/0005-use-log_action_msg-instead-of-log_daemon_msg-w-o-log.patch b/debian/patches/0005-use-log_action_msg-instead-of-log_daemon_msg-w-o-log.patch new file mode 100644 index 0000000..cc138a8 --- /dev/null +++ b/debian/patches/0005-use-log_action_msg-instead-of-log_daemon_msg-w-o-log.patch @@ -0,0 +1,33 @@ +From 31e43a6a7f7241f552e12c1464bdefb85b40f033 Mon Sep 17 00:00:00 2001 +From: Andreas Beckmann <anbe@debian.org> +Date: Fri, 17 Mar 2023 12:30:52 +0100 +Subject: [PATCH] use log_action_msg instead of log_daemon_msg w/o log_end_msg + +--- + dkms_autoinstaller | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/dkms_autoinstaller b/dkms_autoinstaller +index bff9ac5..8c9450c 100755 +--- a/dkms_autoinstaller ++++ b/dkms_autoinstaller +@@ -28,6 +28,7 @@ fi + if [ ! -f /etc/debian_version ]; then + alias log_daemon_msg='/bin/echo -n' + log_end_msg() { if [ "$1" = "0" ]; then echo " Done. "; else echo " Failed. "; fi; } ++ alias log_action_msg=/bin/echo + fi + + exec="/usr/sbin/dkms" +@@ -45,7 +46,7 @@ case "$1" in + kernel=$(uname -r) + fi + if [ -f /etc/dkms/no-autoinstall ]; then +- log_daemon_msg "$prog: autoinstall for dkms modules has been disabled" ++ log_action_msg "$prog: autoinstall for dkms modules has been disabled" + else + log_daemon_msg "$prog: running auto installation service for kernel $kernel" + dkms autoinstall --kernelver $kernel +-- +2.20.1 + |