summaryrefslogtreecommitdiff
path: root/dh_installmodules.1
blob: fb3a315781796bcf1bf0aa7b2fb85df065a3a4d6 (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
.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
A file named debian/package.modules (debian/modules may be used for the first
binary package in debian/control) 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.
.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>