Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_dkms(1) [debian man page]

DH_DKMS(1)							  DKMS Debhelper							DH_DKMS(1)

NAME
dh_dkms - correctly handle DKMS usage by a kernel module package SYNOPSIS
dh_dkms [debhelper options] [-l] [-V[version]] [-- file] DESCRIPTION
dh_dkms is a debhelper program that is responsible for correctly setting postinst, postrm and dependencies in kernel module packages using DKMS. If a file named debian/package.dkms exists, then different actions are performed, depending on its contents. FILES
debian/package.dkms debian/dkms It can be a proper configuration file, and in this case it would be installed in the proper directory as dkms.conf. It can also point to another file (this should be used when the configuration is provided by upstream), and in this case that file will be installed as dkms.conf in the proper directory. This file can only miss if a filename is provided when calling dh_dkms. OPTIONS
-l, --legacy Add code to also support DKMS versions < 2.1.0.0. -V, -V version If "PACKAGE_VERSION" in dkms.conf is set to "#MODULE_VERSION#", set it to the given version or, if none is given, default to the upstream version of the current package. Otherwise, leave the value specified in dkms.conf. -- file Don't look for debian/package.dkms or debian/dkms, but install file as dkms.conf. NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. IMPORTANT: binary packages using dh_dkms must have a name that ends in '-dkms'. SEE ALSO
debhelper(1) This program is part of the Debian DKMS package. dkms(8) AUTHOR
David Paleino <dapal@debian.org> 2.1.1.1 2010-02-17 DH_DKMS(1)

Check Out this Related Man Page

DH_INSTALLMODULES(1)						     Debhelper						      DH_INSTALLMODULES(1)

NAME
dh_installmodules - register kernel modules SYNOPSIS
dh_installmodules [debhelperoptions] [-n] [--name=name] DESCRIPTION
dh_installmodules is a debhelper program that is responsible for registering kernel modules. Kernel modules are searched for in the package build directory and if found, preinst, postinst and postrm commands are automatically generated to run depmod and register the modules when the package is installed. These commands are inserted into the maintainer scripts by dh_installdeb(1). FILES
debian/package.modprobe Installed to etc/modprobe.d/package.conf in the package build directory. OPTIONS
-n, --no-scripts Do not modify preinst/postinst/postrm scripts. --name=name When this parameter is used, dh_installmodules looks for and installs files named debian/package.name.modprobe instead of the usual debian/package.modprobe NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_INSTALLMODULES(1)
Man Page

2 More Discussions You Might Find Interesting

1. Red Hat

RHEL AS 4 Kernel SRC + DKMS + QLogic

Hi, I need some help. I installed RHEL AS 4 u5 x86_64 (vendor requirement) on a Dell Blade 1855. I have a daughter board that will give it a HBA port. I can't install the daughter card until the Qlogic driver is loaded. I can't install the Qlogic driver sine the kernel src is not there. So I... (0 Replies)
Discussion started by: BFLO
0 Replies

2. Debian

how to find out the kernel version of a particular debian release ?

Is there any metrics table available somewhere listing out, which kernel version is there in particular debian release ? Also, can somebody tell which debian release is having the kernel version 2.6.26 ? (1 Reply)
Discussion started by: thegeek
1 Replies