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

Mario Limonciello superm1 at ubuntu.com
Tue Dec 15 20:50:12 GMT 2009


Public bug reported:

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;h=d856c08349812564602ff49335968f6763fc3af8;hb=HEAD

** Affects: batman-adv-kernelland (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: batmand (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: bcmwl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: dahdi-linux (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: drbd8 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: fglrx-installer (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: kqemu (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: lirc (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: nouveau-kernel-source (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: sl-modem (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: sl-modem (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  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;h=d856c08349812564602ff49335968f6763fc3af8;hb=HEAD

** Also affects: batman-adv-kernelland (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: batmand (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: dahdi-linux (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: dahdi-linux (Ubuntu)
       Status: New => Fix Released

** Also affects: drbd8 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: kqemu (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: lirc (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lirc (Ubuntu)
       Status: New => Fix Released

** Also affects: nouveau-kernel-source (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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 Ubuntu
Server Team, which is subscribed to drbd8 in ubuntu.



More information about the Ubuntu-server-bugs mailing list