Comment 27 for bug 497149

Revision history for this message
Alberto Milone (albertomilone) wrote : Re: [Bug 497149] Re: Packages using DKMS should make use of /usr/lib/dkms/common.postinst

On 15 February 2010 01:46, Anders Kaseorg <email address hidden> wrote:
> 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 bug assignee.
>

Anders, on Monday I fixed that in the following way:
/usr/lib/dkms/common.postinst $PACKAGE_NAME $CVERSION
/usr/share/$PACKAGE_NAME $ARCH $2 || exit $?

Regards,

--
Alberto Milone
Sustaining Engineer (system)
Foundations Team
Canonical OEM Services