Debian Bug report logs -
#653176
ignores --kernelsourcedir
Reported by: Evgeni Golov <evgeni@debian.org>
Date: Sat, 24 Dec 2011 17:57:02 UTC
Severity: normal
Tags: patch
Found in version dkms/2.2.0.3-1
Fixed in version dkms/2.2.0.3-5
Done: Aron Xu <aron@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, evgeni@debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#653176; Package dkms.
(Sat, 24 Dec 2011 17:57:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Evgeni Golov <evgeni@debian.org>:
New Bug report received and forwarded. Copy sent to evgeni@debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sat, 24 Dec 2011 17:57:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.2.0.3-1
Severity: normal
Tags: patch
Heya
when you try to build a non-running, non-defaultpath kernel module,
you would supply --kernelsourcedir=/wherever/the/kernel/lies.
Sadly dkms just overwrites the value you set, because _get_kernel_dir()
does not check whether ksourcedir_fromcli is set and defaults to
/lib/modules/$KVER/build.
the below trivial patch fixes it.
Regards and happy xhwatever
Evgeni
patch:
--- dkms-2.2.0.3.orig/dkms
+++ dkms-2.2.0.3/dkms
@@ -47,6 +47,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
}
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dkms depends on:
ii build-essential 11.5
ii coreutils 8.13-3
ii dpkg-dev 1.16.1.2
ii gcc 4:4.6.2-2
ii make 3.81-8.1
ii module-init-tools 3.16-1
ii patch 2.6.1-2
Versions of packages dkms recommends:
ii fakeroot 1.18.2-1
ii linux-headers-2.6.38-2-amd64 [linux-headers] 2.6.38-5
ii linux-headers-2.6.39-1-amd64 [linux-headers] 2.6.39-1+b1
ii linux-headers-2.6.39-2-amd64 [linux-headers] 2.6.39-3
ii linux-headers-3.0.0-1-amd64 [linux-headers] 3.0.0-4
ii linux-headers-3.0.0-2-amd64 [linux-headers] 3.0.0-6
ii linux-headers-3.1.0-1-amd64 [linux-headers] 3.1.6-1
ii linux-headers-amd64 [linux-headers] 3.1+41
ii linux-image-2.6.38-2-amd64 [linux-image] 2.6.38-5
ii linux-image-2.6.39-1-amd64 [linux-image] 2.6.39-1+b1
ii linux-image-2.6.39-2-amd64 [linux-image] 2.6.39-3
ii linux-image-3.0.0-1-amd64 [linux-image] 3.0.0-4
ii linux-image-3.0.0-2-amd64 [linux-image] 3.0.0-6
ii linux-image-3.1.0-1-amd64 [linux-image] 3.1.6-1
ii menu 2.1.46
ii sudo 1.8.3p1-2
dkms suggests no packages.
-- no debconf information
Reply sent
to Aron Xu <aron@debian.org>:
You have taken responsibility.
(Tue, 05 Jul 2016 22:30:04 GMT) (full text, mbox, link).
Notification sent
to Evgeni Golov <evgeni@debian.org>:
Bug acknowledged by developer.
(Tue, 05 Jul 2016 22:30:04 GMT) (full text, mbox, link).
Message #10 received at 653176-close@bugs.debian.org (full text, mbox, reply):
Source: dkms
Source-Version: 2.2.0.3-5
We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 653176@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aron Xu <aron@debian.org> (supplier of updated dkms package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 06 Jul 2016 05:51:37 +0800
Source: dkms
Binary: dkms
Architecture: source
Version: 2.2.0.3-5
Distribution: unstable
Urgency: medium
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Changed-By: Aron Xu <aron@debian.org>
Description:
dkms - Dynamic Kernel Module Support Framework
Closes: 554843 653176 707008 724566 829123
Changes:
dkms (2.2.0.3-5) unstable; urgency=medium
.
[ Aron Xu ]
* Remove obsolete virtual package 'linux-image' from Recommends (Closes: #724566)
* Do not ignore --kernelsourcedir (Closes: #653176)
* Update upstream link to github
* Use gbp-pq to manage patches
.
[ Daniel Kahn Gillmor ]
* Make dh_dkms name and version parsing more proper (Closes: #829123)
.
[ Dirk Griesbach ]
* Port apport hook to python3 and add python3-apport to Suggests (Closes: #707008)
.
[ Thijs Kinkhorst ]
* mkbmdeb: support for lean binary package with only the built modules (Closes: #554843)
Checksums-Sha1:
ed439bed3ca7f4cdc5653f570b759ad261cd8629 1676 dkms_2.2.0.3-5.dsc
53c8fd66fbd8ed40d44fbcdca222b3bb0a6d6869 23848 dkms_2.2.0.3-5.debian.tar.xz
Checksums-Sha256:
eccc5d46ed251ba9686dd42f2810134c5ff5343b614439d6836e979d36476d68 1676 dkms_2.2.0.3-5.dsc
fb76dd4d2bf0b4e7d4e75891ef2b07e2ae0723d90f8956a433ce69777b3b947f 23848 dkms_2.2.0.3-5.debian.tar.xz
Files:
6caaffd34bf026deee7120be0854aa43 1676 kernel optional dkms_2.2.0.3-5.dsc
5ec647de561c069540acc83bc384aaa8 23848 kernel optional dkms_2.2.0.3-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJXfCxMAAoJEPbsVcVkKA0egdgH/06hahFV/RhM/yk4VxiM7XVm
Cs+SRbOJr7jCJRf4Z9VeKiOVHsRbLZu1G77KaxesN/wpREDnbHhUPIVhzSK3/6Yc
rIQHZvf4UcJFif6lO8Yvr+JoWwiwdCLzfTobKd4g7vU8uP+BNYoc/wqKWF4u0WNf
/vzN+ctC5jVLyi018wf77zAoxv2PKJHinJFLLeW54jj1E8VWQ3bGP1A9M2RyNFZJ
QTucN40Y+WpvNH8YcxenrPpzwT+WKJyBu4xPxqyn2VV3PukkI5Q4A9PqhlPZBTZj
nPm1S4dO0YvfqZ6EcolRABvFqJMp1up2wfaaMeSB35vC4iDmbmJwU3J66qhsh78=
=UWnA
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 09 Aug 2016 07:38:01 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 06:31:49 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.