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