summaryrefslogtreecommitdiff
path: root/dh_installmodules.1
blob: 0f7627b8cc6a27becdca28525e4b142b3df02081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.TH DH_INSTALLMODULES 1 "" "Debhelper Commands" "Debhelper Commands"
.SH NAME
dh_installmodules \- register modules with modutils
.SH SYNOPSIS
.B dh_installmodules
.I "[debhelper options] [-n]"
.SH "DESCRIPTION"
dh_installmodules is a debhelper program that is responsible for registering
kernel modules with modutils.
.P
Files named debian/package.modules will be installed as etc/modutils/package
in the package build directory.
.P
Then postinst and postrm commands are automatically generated to register
the modules when the package is installed. See
.BR dh_installdeb (1)
for an explanation of how this works. Note that this will be done for any
package this program acts on which has either the above-mentioned file, or
has .o files in /lib/modules.
.SH OPTIONS
.TP
.B debhelper options
See
.BR debhelper (1)
for a list of options common to all debhelper commands.
.TP
.B \-n, \--noscripts
Do not modify postinst/postrm scripts.
.SH ENVIRONMENT
See
.BR debhelper (1)
for a list of environment variables that affect all debhelper commands.
.SH NOTES
Note that this command is not idempotent. "dh_clean -k" should be called
between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
.SH "SEE ALSO"
.BR debhelper (1)
.SH AUTHOR
Joey Hess <joeyh@debian.org>