[Pkg-dkms-maint] Bug#588585: dkms package install fails with non-matching kernel

Jan-Marek Glogowski glogow at fbihome.de
Fri Jul 9 21:47:05 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: dkms
Version: 2.1.1.2-3
Severity: normal
Tags: patch

dkms.conf allows to set a BUILD_EXCLUSIVE_KERNEL / BUILD_EXCLUSIVE_ARCH 
parameter to specify a regular expression which defines the subset of 
kernels / architectures which DKMS is allowed to build the module for. If 
the kernel being built for does not match against this regular 
expressions, the dkms build will error out with exit code 9.

The attached patch changes dkms_common.postinst to handle this dkms build 
error gracefully by skipping build for the non matching kernels.

Jan-Marek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkw3mNkACgkQj6MK58wZA3cPNQCcD30J9n8ghtyM6XgQ/3piuYzk
bOAAniWWGJ0t5KMZyhKl+onWCa152/3W
=2BFa
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dkms-skip-non-matching-kernel.diff
Type: text/x-diff
Size: 917 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20100709/5b3cc213/attachment.diff>


More information about the Pkg-dkms-maint mailing list