[Pkg-dkms-commits] [dkms] 02/03: Do not ignore --kernelsourcedir (Closes: #653176)
Aron Xu
aron at debian.org
Sun Jul 3 16:01:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
aron pushed a commit to branch master
in repository dkms.
commit 642173bcc340eb5077ac9ba6d34cbbf27497fd5f
Author: Aron Xu <aron at debian.org>
Date: Sun Jul 3 23:26:04 2016 +0800
Do not ignore --kernelsourcedir (Closes: #653176)
---
debian/patches/653176.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/653176.patch b/debian/patches/653176.patch
new file mode 100644
index 0000000..dbc77bc
--- /dev/null
+++ b/debian/patches/653176.patch
@@ -0,0 +1,17 @@
+From: Evgeni Golov <evgeni at debian.org>
+Subject: Do not ignore --kernelsourcedir
+Bug-Debian: 653176
+Index: dkms/dkms
+===================================================================
+--- dkms.orig/dkms
++++ dkms/dkms
+@@ -48,6 +48,9 @@ _get_kernel_dir() {
+ Linux) DIR="/lib/modules/$KVER/build" ;;
+ GNU/kFreeBSD) DIR="/usr/src/kfreebsd-headers-$KVER/sys" ;;
+ esac
++
++ [ ! -z "$ksourcedir_fromcli" ] && DIR=$kernel_source_dir
++
+ echo $DIR
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index 63f1440..cb982fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ fix_have_one_kernel_for_non-zero_return_code.diff
apport-write-binary.patch
parallell-build.patch
690866-helpmsg.patch
+653176.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