.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DH_INSTALLINITRAMFS 1" .TH DH_INSTALLINITRAMFS 1 2024-03-27 13.15.3 Debhelper .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dh_installinitramfs \- install initramfs hooks and setup maintscripts .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdh_installinitramfs\fR [\fBdebhelper\ options\fR] [\fB\-n\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBdh_installinitramfs\fR is a debhelper program that is responsible for installing Debian package provided initramfs hooks. .PP If \fBdh_installinitramfs\fR installs or detects one or more initramfs hooks in the package, then it also automatically generates the noawait trigger \fBupdate-initframfs\fR command needed to interface with the Debian initramfs system. This trigger is inserted into the packaging by \fBdh_installdeb\fR\|(1). .SH FILES .IX Header "FILES" .IP debian/\fIpackage\fR.initramfs\-hook 4 .IX Item "debian/package.initramfs-hook" Assumed to be an initramfs hook that will be installed into \fIusr/share/initramfs\-tools/hooks/package\fR in the package build directory. See \fBHOOK SCRIPTS\fR in \fBinitramfs\-tools\fR\|(8) for more information about initramfs hooks. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-n\fR, \fB\-\-no\-scripts\fR" 4 .IX Item "-n, --no-scripts" Do not add the \fBupdate-initramfs\fR trigger even if it seems like the package might need it. The option is called \fB\-\-no\-scripts\fR for historical reasons as \fBdh_installinitramfs\fR would previously generate maintainer scripts that called \fBupdate-initramfs \-u\fR. .Sp Use this option, if you need to interface with the \fBupdate-initramfs\fR system that is not satisfied by the noawait trigger (e.g. because you need the extra guarantees and head-aches of a await trigger). .SH NOTES .IX Header "NOTES" Note that this command is not idempotent. \fBdh_prep\fR\|(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to triggers file. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdebhelper\fR\|(7) \&\fBupdate\-initramfs\fR\|(8) \&\fBinitramfs\-tools\fR\|(8) .PP This program is a part of debhelper. .SH AUTHOR .IX Header "AUTHOR" Niels Thykier