reassign 651973 dkms 2.2.0.3-1
retitle 651973 BUILT_MODULE_NAME[#] required if linux-headers-* is 
installed/updated after the foo-dkms package
thanks

dkms(8):

    BUILT_MODULE_NAME[#]=
        ... If your DKMS module package contains more than one module 
        to install, this is a required directive for all of the modules.
        ...

I interpret this as "if the dkms package builds exactly one module, the 
BUILT_MODULE_NAME is optional", so I omitted that option for r8168.
This works fine if the dkms package is installed after the headers, but
not the other way around (e.g. on header updates).

Andreas

On 2011-12-13 19:05, Patrick Matthäi wrote:
> Package: r8168-dkms
> Version: 8.026.00-1
> Severity: important
> 
> Hi,
> 
> in dkms.conf following line is missing:
> BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
> 
> So dkms.conf looks at the end like this:
> PACKAGE_NAME="r8168"
> PACKAGE_VERSION="8.026.00"
> BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
> DEST_MODULE_LOCATION[0]="/updates/dkms"
> AUTOINSTALL="YES"
> REMAKE_INITRD="YES"
> 
> Else I get this warning/error on updating linux-headers-3.1.0-1-amd64:
> 
> linux-image-3.1.0-1-amd64 (3.1.5-1) wird eingerichtet ...
> Running depmod.
> Examining /etc/kernel/postinst.d.
> run-parts: executing /etc/kernel/postinst.d/dkms 3.1.0-1-amd64
> /boot/vmlinuz-3.1.0-1-amd64
> dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
> Error! Bad conf file.
> File:
> does not represent a valid dkms.conf file.
> 
> 




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to