Your message dated Sat, 17 Jul 2010 11:47:07 +0000
with message-id <[email protected]>
and subject line Bug#588585: fixed in dkms 2.1.1.2-4
has caused the Debian Bug report #588585,
regarding dkms package install fails with non-matching kernel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
588585: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588585
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
-----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-----
--- dkms_common.postinst	2010-01-26 00:56:54.000000000 +0100
+++ /usr/lib/dkms/common.postinst	2010-07-09 23:45:10.000000000 +0200
@@ -231,8 +231,22 @@
         fi
         if [ -e /lib/modules/$KERNEL/build/include ]; then
             echo "Building initial module for $KERNEL"
+            set +e
             dkms build -m $NAME -v $VERSION -k $KERNEL $ARCH > /dev/null
-            echo "Done."
+            case $? in
+            9)
+                set -e
+                echo "Skipped."
+                continue
+                ;;
+            0)
+                set -e
+                echo "Done."
+                ;;
+            *)
+                exit $?
+                ;;
+            esac
             dkms_status=`dkms status -m $NAME -v $VERSION -k $KERNEL $ARCH`
         else
             echo "Module build for the currently running kernel was skipped since the"

--- End Message ---
--- Begin Message ---
Source: dkms
Source-Version: 2.1.1.2-4

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:

dkms_2.1.1.2-4.debian.tar.gz
  to main/d/dkms/dkms_2.1.1.2-4.debian.tar.gz
dkms_2.1.1.2-4.dsc
  to main/d/dkms/dkms_2.1.1.2-4.dsc
dkms_2.1.1.2-4_all.deb
  to main/d/dkms/dkms_2.1.1.2-4_all.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giuseppe Iuculano <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Sat, 17 Jul 2010 13:23:43 +0200
Source: dkms
Binary: dkms
Architecture: source all
Version: 2.1.1.2-4
Distribution: unstable
Urgency: low
Maintainer: Dynamic Kernel Modules Support Team 
<[email protected]>
Changed-By: Giuseppe Iuculano <[email protected]>
Description: 
 dkms       - Dynamic Kernel Module Support Framework
Closes: 586356 586724 588585 589308
Changes: 
 dkms (2.1.1.2-4) unstable; urgency=low
 .
   * [f649aa1] Added coreutils >= 7.4 in Depends (Closes: #586356)
   * [01c7c14] Remove old modules when removing a kernel (Closes: #586724)
     - thanks to Jan Muszynski
   * [b6182ba] Bump to Standards-Version 3.9.0, no changes needed
   * [eaeddb3] dkms_common.postinst: handle dkms build error gracefully
     by skipping build for the non matching kernels. (Closes: #588585) -
     thanks to Jan-Marek Glogowski
   * [73533c2] Promote lsb-release to Pre-Depends (Closes: #589308)
Checksums-Sha1: 
 6349fd51e5c0a7ee1041b5f1a1ae570fb441a94f 1290 dkms_2.1.1.2-4.dsc
 5d912ca4badc741f7e9edc2949ff72073595df53 15839 dkms_2.1.1.2-4.debian.tar.gz
 ab9eca871ec666ca31ef6009e6ade129cd3a232e 70938 dkms_2.1.1.2-4_all.deb
Checksums-Sha256: 
 3e78a6f0f9f30f9ba32a9c33df767abebb63eee3d177cdfabd385bfa6f06bff6 1290 
dkms_2.1.1.2-4.dsc
 b5b46a0a6bc56f6668e986fbfa06f494fec55fa9e675194337ace60569ca237c 15839 
dkms_2.1.1.2-4.debian.tar.gz
 597e030d0a76effcdd0560fd19bac91fb0702ca4b937c0abd2797247777105cd 70938 
dkms_2.1.1.2-4_all.deb
Files: 
 c9aaee1042f6c36a52c47594e265828e 1290 kernel optional dkms_2.1.1.2-4.dsc
 fe57813241b0c39cdb9a4524b6c4d1d1 15839 kernel optional 
dkms_2.1.1.2-4.debian.tar.gz
 744fdbe05976a70fe2d4da828117cb24 70938 kernel optional dkms_2.1.1.2-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxBlJ0ACgkQNxpp46476ar78QCeO9KchCxp/bCHEV8MSUlO8uug
c+sAn2TZGcUJjEI6kxZinbW90cdX3d1I
=kBMO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to