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 (in compat 12 or later) detects one
16 or more initramfs hooks in the package, then it also automatically
17 generates the postinst and postrm commands needed to interface with the
18 Debian initramfs system. These commands are inserted into the
19 maintainer scripts by 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 modify postinst/postrm scripts.
31
33 Note that this command is not idempotent. dh_prep(1) should be called
34 between invocations of this command. Otherwise, it may cause multiple
35 instances of the same text to be added to maintainer scripts.
36
38 debhelper(7) update-initramfs(8) initramfs-tools(8)
39
40 This program is a part of debhelper.
41
43 Niels Thykier <niels@thykier.net>
44
45
46
4712.7.3 2020-07-27 DH_INSTALLINITRAMFS(1)