]> oss.titaniummirror.com Git - cp210x.git/commit
Fix source version as seen by DKMS.
authorR. Steve McKown <rsmckown@gmail.com>
Tue, 8 Dec 2009 20:10:04 +0000 (13:10 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 8 Dec 2009 20:10:04 +0000 (13:10 -0700)
commit479b50ff8efa3ee1b8be228378a993cc6e8f3d4a
tree1ebf3cc66bbacb0e4713f089ab38c6db2a34ffd2
parentd940da559b32e730964691a1fc5593654b9f6636
Fix source version as seen by DKMS.

The DKMS scripts assume that a package update will install software to build
at /usr/src but in a different directory.  So, an update to a package that
is just a change in the debian build stuff but not the source proper will
cause a problem, since DKMS will remove the old source dir after the new
source dir is already unpacked.  If they are the same, it breaks.  We fix this
problem by simply informing DKMS that the source version include the debian
version info as well.  So for example, instead of 0.11.2, DKMS would see
0.11.2-5.2tmi.
debian.in/postinst
debian.in/postrm
debian.in/prerm
debian.in/rules