From: smckown Date: Thu, 26 Nov 2009 00:13:35 +0000 (+0000) Subject: Fix linux-header dependencies X-Git-Tag: debian/0.11.2-5.2tmi~4 X-Git-Url: https://oss.titaniummirror.com/gitweb?p=cp210x.git;a=commitdiff_plain;h=8e0c2c991777cee694d48e8aa979fe4b18e01b6c Fix linux-header dependencies dkms pulls in linux-headers, which right now brings in linux-headers-2.6.24-16, which doesn't relate to the current kernel. By changing the depends for cp210x-module-dkms to use linux-headers-generic, it pulls in the correct headers, 2.6.24-25, and sets the proper symlinks for the build of cp210x to work correctly. --- diff --git a/Makefile b/Makefile index ead51e3..cb03d6b 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ PKGVER = 0.11.1 DEBDIST = hardy -DEBRELEASE = 2tmi +DEBRELEASE = 3tmi # No need to change anything below this line diff --git a/debian.in/control b/debian.in/control index 06c4ffb..062f77e 100644 --- a/debian.in/control +++ b/debian.in/control @@ -7,9 +7,14 @@ Build-Depends: dpkg-dev (>= 1.13.9) Package: xxPACKAGExx Architecture: all -Depends: dkms (>> 2.0.20), linux-headers, linux-image, binutils (>= 2.9.5.0.12), gcc (>= 4:4.2.2), dpatch, file, bzip2, lsb-release -Conflicts: cp210x-module-2.6.24-19-generic, cp210x-module-2.6.24-21-generic, cp210x-module-2.6.24-22-generic, cp210x-module-2.6.24-23-generic, cp210x-module-2.6.24-24-generic, cp210x-module-2.6.24-25-generic -Replaces: cp210x-module-2.6.24-19-generic, cp210x-module-2.6.24-21-generic, cp210x-module-2.6.24-22-generic, cp210x-module-2.6.24-23-generic, cp210x-module-2.6.24-24-generic, cp210x-module-2.6.24-25-generic +Depends: dkms (>> 2.0.20), linux-headers-generic, linux-image, + binutils (>= 2.9.5.0.12), gcc (>= 4:4.2.2), dpatch, file, bzip2, lsb-release +Conflicts: cp210x-module-2.6.24-19-generic, cp210x-module-2.6.24-21-generic, + cp210x-module-2.6.24-22-generic, cp210x-module-2.6.24-23-generic, + cp210x-module-2.6.24-24-generic, cp210x-module-2.6.24-25-generic +Replaces: cp210x-module-2.6.24-19-generic, cp210x-module-2.6.24-21-generic, + cp210x-module-2.6.24-22-generic, cp210x-module-2.6.24-23-generic, + cp210x-module-2.6.24-24-generic, cp210x-module-2.6.24-25-generic Priority: extra Description: Enhanced USB/serial kernel module for cp210x based devices. This module blacklists the standard cp2101 module installed in the kernel,