Bug#529059: [Pkg-dkms-maint] Bug#529059: dkms: please use dpkg-divert

2009-06-08 Thread A Mennucc
On Sun, Jun 07, 2009 at 07:27:22PM +0200, Giuseppe Iuculano wrote: Hi, A Mennucc ha scritto: correctly sets the dpkg-diversion for an existing module What's the purpose of this patch? By default dkms install the module in /lib/modules/kernelversion/updates/dkms (see

Bug#529059: [Pkg-dkms-maint] Bug#529059: dkms: please use dpkg-divert

2009-06-08 Thread Giuseppe Iuculano
A Mennucc ha scritto: moreover, AFAICS, dkms (the upstream version) goes to great length to mv away the old module when it installs a new module. There is a lot of code to do that. Yes, but my last patch removes that code. Cheers, Giuseppe. signature.asc Description: OpenPGP digital

Bug#529059: [Pkg-dkms-maint] Bug#529059: dkms: please use dpkg-divert

2009-06-07 Thread A Mennucc
On Fri, May 22, 2009 at 10:27:54PM +0200, Giuseppe Iuculano wrote: Could you point me a DKMS package that updates an in-tree module? I would like to test the dpkg-divert patch. hi, the modules that I know come from http://ppa.launchpad.net/mactel-support/ubuntu/pool/main/ and they do delete a

Bug#529059: [Pkg-dkms-maint] Bug#529059: dkms: please use dpkg-divert

2009-06-07 Thread A Mennucc
hi, I downloaded git://git.debian.org/git/users/hanska-guest/dkms.git and built the Debian package dkmg 2.0.22.0-1 so that I can help in fixing this problem I am though a bit puzzled by the behaviour of the purpose of the code, in particular, around line 1235, at what is the need for

Bug#529059: [Pkg-dkms-maint] Bug#529059: dkms: please use dpkg-divert

2009-06-07 Thread A Mennucc
hi, this patch against 2.0.22.0-1 correctly sets the dpkg-diversion for an existing module but I still could not write some code that would remove the diversion on module removal a. --- /usr/sbin/dkms-2.0.22.0 2009-06-07 16:05:22.0 +0200 +++ /usr/sbin/dkms 2009-06-07

Bug#529059: [Pkg-dkms-maint] Bug#529059: dkms: please use dpkg-divert

2009-06-07 Thread Giuseppe Iuculano
Hi, A Mennucc ha scritto: correctly sets the dpkg-diversion for an existing module What's the purpose of this patch? By default dkms install the module in /lib/modules/kernelversion/updates/dkms (see override_dest_module_location() ), why we need to divert the old one? Cheers, Giuseppe.

Bug#529059: [Pkg-dkms-maint] Bug#529059: dkms: please use dpkg-divert

2009-05-22 Thread Giuseppe Iuculano
Hi, A Mennucc ha scritto: when dkms installs, it may override an existing kernel module by a new one. To this end, dkms moves away the old module using 'mv' But this breaks if the kernel is upated/reinstalled (as for example after the recent security updates). There is though a more