1DH_INSTALLINITRAMFS(1) Debhelper DH_INSTALLINITRAMFS(1)
2
3
4
6 dh_installinitramfs - install initramfs hooks and setup maintscripts
7
9 dh_installinitramfs [debhelperĀ options] [-n]
10
12 dh_installinitramfs is a debhelper program that is responsible for
13 installing Debian package provided initramfs hooks.
14
15 If dh_installinitramfs installs or detects one or more initramfs hooks
16 in the package, then it also automatically generates the noawait
17 trigger update-initframfs command needed to interface with the Debian
18 initramfs system. This trigger is inserted into the packaging by
19 dh_installdeb(1).
20
22 debian/package.initramfs-hook
23 Assumed to be an initramfs hook that will be installed into
24 usr/share/initramfs-tools/hooks/package in the package build
25 directory. See HOOK SCRIPTS in initramfs-tools(8) for more
26 information about initramfs hooks.
27
29 -n, --no-scripts
30 Do not add the update-initramfs trigger even if it seems like the
31 package might need it. The option is called --no-scripts for
32 historical reasons as dh_installinitramfs would previously generate
33 maintainer scripts that called update-initramfs -u.
34
35 Use this option, if you need to interface with the update-initramfs
36 system that is not satisfied by the noawait trigger (e.g. because
37 you need the extra guarantees and head-aches of a await trigger).
38
40 Note that this command is not idempotent. dh_prep(1) should be called
41 between invocations of this command. Otherwise, it may cause multiple
42 instances of the same text to be added to triggers file.
43
45 debhelper(7) update-initramfs(8) initramfs-tools(8)
46
47 This program is a part of debhelper.
48
50 Niels Thykier <niels@thykier.net>
51
52
53
5413.5.2 2021-11-02 DH_INSTALLINITRAMFS(1)