[Pkg-dkms-commits] [dkms] 01/01: Improve message printed when kernel headers are missing.

Petter Reinholdtsen pere at moszumanska.debian.org
Sun May 1 13:16:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository dkms.

commit a26e4da6185deb1edcf3c923f7779eaf1789cd98
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sun May 1 15:16:38 2016 +0200

    Improve message printed when kernel headers are missing.
    
    Patch by Thijs Kinkhorst.
    
    Closes: #690866
---
 debian/patches/690866-helpmsg.patch | 30 ++++++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/690866-helpmsg.patch b/debian/patches/690866-helpmsg.patch
new file mode 100644
index 0000000..11710e1
--- /dev/null
+++ b/debian/patches/690866-helpmsg.patch
@@ -0,0 +1,30 @@
+Description: Improve message printed when kernel headers are missing.
+Author: Thijs Kinkhorst <thijs at debian.org>
+Bug-Debian: https://bugs.debian.org/690866
+Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690866
+Forwarded: no
+Reviewed-By: Petter Reinholdtsen <pere at hungry.com>
+Last-Update: 2016-05-01
+
+--- dkms-2.2.0.3.orig/dkms_common.postinst
++++ dkms-2.2.0.3/dkms_common.postinst
+@@ -282,7 +282,7 @@ for KERNEL in $KERNELS; do
+             dkms_status=`dkms status -m $NAME -v $VERSION -k $KERNEL $ARCH`
+         else
+             echo "Module build for the currently running kernel was skipped since the"
+-            echo "kernel source for this kernel does not seem to be installed."
++            echo "kernel headers for this kernel do not seem to be installed."
+         fi
+     fi
+ 
+--- dkms-2.2.0.3.orig/sample.spec
++++ dkms-2.2.0.3/sample.spec
+@@ -93,7 +93,7 @@ if [ -z "$loaded_tarballs" ]; then
+ 	else
+ 		echo -e ""
+ 		echo -e "Module build for the currently running kernel was skipped since the"
+-		echo -e "kernel source for this kernel does not seem to be installed."
++		echo -e "kernel headers for this kernel do not seem to be installed."
+ 	fi
+ fi
+ exit 0
diff --git a/debian/patches/series b/debian/patches/series
index eef8e9f..63f1440 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ fix_have_one_kernel_for_non-zero_return_code.diff
 1491729-0002-Add_BUILD_DEPENDS_configuration_option.patch
 apport-write-binary.patch
 parallell-build.patch
+690866-helpmsg.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-dkms/dkms.git



More information about the Pkg-dkms-commits mailing list