← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 497149] Re: Packages using DKMS should make use of /usr/lib/dkms/common.postinst

 

Alberto, you failed to note the patch I posted above here (dkms-
template-postinst-cleanup.patch), as well as the source package I posted
to bug 432780, and so your new bcmwl package completely skips creating
the blacklist file:

case "$1" in
        configure)
        # Build the kernel module
        /usr/lib/dkms/common.postinst $PACKAGE_NAME $CVERSION /usr/share/$PACKAGE_NAME $ARCH $2
        exit $?
        
        # Create a blacklist file
        …

Can we please get this fixed in both dkms and bcmwl?

-- 
Packages using DKMS should make use of /usr/lib/dkms/common.postinst
https://bugs.launchpad.net/bugs/497149
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “batman-adv-kernelland” package in Ubuntu: Fix Released
Status in “batmand” package in Ubuntu: Fix Released
Status in “bcmwl” package in Ubuntu: Fix Released
Status in “dahdi-linux” package in Ubuntu: Fix Released
Status in “dkms” package in Ubuntu: New
Status in “drbd8” package in Ubuntu: Confirmed
Status in “fglrx-installer” package in Ubuntu: New
Status in “kqemu” package in Ubuntu: New
Status in “lirc” package in Ubuntu: Fix Released
Status in “nouveau-kernel-source” package in Ubuntu: New
Status in “nvidia-graphics-drivers-173” package in Ubuntu: Fix Committed
Status in “nvidia-graphics-drivers-180” package in Ubuntu: Fix Released
Status in “nvidia-graphics-drivers-96” package in Ubuntu: Fix Committed
Status in “openafs” package in Ubuntu: New
Status in “sl-modem” package in Ubuntu: Fix Committed
Status in “virtualbox-ose” package in Ubuntu: Fix Released

Bug description:
Packages in Debian & Ubuntu that are using their own postinstall script should remove the logic from there and instead use /usr/lib/dkms/common.postinst .  This script contains sufficient logic to figure out the correct kernels to build for and accounts for allowing builds on a buildd (if a package is ever included in a live media build).

The following sample template is sufficient to use instead:

http://linux.dell.com/git/?p=dkms.git;a=blob;f=template-dkms-mkdeb/debian/postinst;hb=HEAD







Follow ups