[Pkg-dkms-commits] [SCM] Maintainance of the dkms package branch, master, updated. debian/2.1.0.1-1-1-g47e453e
David Paleino
d.paleino at gmail.com
Sun Nov 1 11:59:50 UTC 2009
The following commit has been merged in the master branch:
commit 47e453e1cc0f8f31d27924cfa4b21b9c640b97c2
Author: David Paleino <d.paleino at gmail.com>
Date: Sun Nov 1 12:56:17 2009 +0100
debian/patches/02-improve_error_message.patch: improve error message, and add Debian/Ubuntu specific suggestion. (Closes: #553600)
diff --git a/debian/patches/02-improve_error_message.patch b/debian/patches/02-improve_error_message.patch
new file mode 100644
index 0000000..698a4e0
--- /dev/null
+++ b/debian/patches/02-improve_error_message.patch
@@ -0,0 +1,31 @@
+From: David Paleino <d.paleino at gmail.com>
+Subject: Improve error message, and add Debian/Ubuntu specific changes
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553600
+Forwarded: no
+
+---
+ dkms | 12 ++++++++++--
+ 1 file changed, 10 insertions(+), 2 deletions(-)
+
+--- dkms.orig/dkms
++++ dkms/dkms
+@@ -1055,9 +1055,17 @@ function prepare_kernel()
+ # Check that kernel-source exists
+ if ! [ -e "$kernel_source_dir/include" ]; then
+ echo $"" >&2
+- echo $"Error! Your kernel source for kernel $1 cannot be found at" >&2
++ echo $"Error! Your kernel headers for kernel $1 cannot be found at" >&2
+ echo $"/lib/modules/$1/build or /lib/modules/$1/source." >&2
+- echo $"You can use the --kernelsourcedir option to tell DKMS where it's located."
++ echo -n $"You can use the --kernelsourcedir option to tell DKMS where it's located"
++ case "$running_distribution" in
++ Debian* | Ubuntu* )
++ echo $", or you could install the linux-headers-$1 package."
++ ;;
++ * )
++ echo $"."
++ ;;
++ esac
+ exit 1
+ fi
+
diff --git a/debian/patches/series b/debian/patches/series
index cc46177..1f095d6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01_init.patch
+02-improve_error_message.patch
--
Maintainance of the dkms package
More information about the Pkg-dkms-commits
mailing list