[Pkg-dkms-maint] Bug#553665: Bug#553665: dkms: debhelper support for DKMS

Mario Limonciello mario_limonciello at dell.com
Mon Nov 2 19:11:28 UTC 2009


It should be worthwhile to note that there is an upstream "common"
postinst that is available with DKMS 2.1.0 and later.  It would be most
ideal to work off that if at all possible.

http://linux.dell.com/git/?p=dkms.git;a=blob;f=dkms_common.postinst;h=0424b76dc8075a741d190e62a7c237e4ab8c87a8;hb=HEAD

Here's how it's normally used in the DKMS mkdeb template:

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

Regards

Frédéric Brière wrote:
> Package: dkms
> Version: 2.1.0.1-1
> Severity: wishlist
>
> Now that DKMS has been proclaimed as the Way of the Future[tm] for
> Debian, it would be nice to have a dh_dkms to take care of the heavy
> lifting, at least regarding the postinst/prerm.  (I think #553542
> nicely illustrates that need.)
>
> I wouldn't mind lending a hand on the Perl/Debhelper side of things if
> need be.
>
>
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.26.8 (SMP w/1 CPU core)
> Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages dkms depends on:
> ii  build-essential           11.4           Informational list of build-essent
> ii  dpkg-dev                  1.15.4.1       Debian package development tools
> ii  gcc                       4:4.3.3-9+nmu1 The GNU C compiler
> ii  make                      3.81-6         An utility for Directing compilati
> ii  module-init-tools         3.11-1         tools for managing Linux kernel mo
>
> Versions of packages dkms recommends:
> ii  fakeroot           1.14.3                Gives a fake root environment
> ii  linux-headers-2.6. 2.6.26.8-10.00.Custom Header files related to Linux kern
> ii  linux-image-2.6.26 2.6.26.8-10.00.Custom Linux kernel binary image for vers
> ii  lsb-release        3.2-23                Linux Standard Base version report
> ii  menu               2.1.42                generates programs menu for all me
> ii  patch              2.5.9-5               Apply a diff file to an original
> ii  sudo               1.7.2p1-1             Provide limited super user privile
>
> dkms suggests no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> Pkg-dkms-maint mailing list
> Pkg-dkms-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-maint
>   

-- 
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello at dell.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20091102/2c96f67c/attachment-0001.pgp>


More information about the Pkg-dkms-maint mailing list