← 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

 

This bug was fixed in the package drbd8 - 2:8.3.7-1ubuntu1

---------------
drbd8 (2:8.3.7-1ubuntu1) lucid; urgency=low

  * Merge from Debian, remaining Ubuntu changes:
    - switch to DKMS:
      + debian/control: drbd8-utils depends on drbd8-source
      + debian/control: drbd8-source depends on dkms and kernel headers
      + debian/dkms.conf
      + debian/drbd8-source.postinst
      + debian/drbd8-source.prerm
      + debian/rules
      + removed 10_different-kernels.dpatch; not needed with DKMS
      + debian/drbd8-source.dirs: removed modass directory
  * Use /usr/lib/dkms/common.postinst in debian/drbd8-source.postinst
    (LP: #497149)
 -- Ante Karamatic <ivoks@xxxxxxxxxx>   Wed, 27 Jan 2010 17:57:54 +0000

** Changed in: drbd8 (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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: Fix Released
Status in “drbd8” package in Ubuntu: Fix Released
Status in “fglrx-installer” package in Ubuntu: Fix Committed
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