[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH initramfs-tools 11/11] initramfs-tools.8: Briefly document the kernel hooks



Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 initramfs-tools.8 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/initramfs-tools.8 b/initramfs-tools.8
index 8394f12..1d48e66 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -555,6 +555,17 @@ is the path where root gets mounted usually /root.
 indicates that a debug log is captured for further investigation.
 

+.SH KERNEL HOOKS
+initramfs-tools includes hook scripts that are called by kernel
+packages on installation and removal, so that an initramfs is
+automatically created, updated or deleted as necessary.  The hook
+scripts do nothing if the environment variable \fBINITRD\fR is
+set to \fBNo\fR.  This will be the case for kernel packages
+built with \fBmake deb-pkg\fR and with \fBCONFIG_BLK_DEV_INITRD\fR
+not set in the kernel config, or built with \fBmake-kpkg\fR and not
+using the \fB--initrd\fR option.
+
+
 .SH DEBUG
 It is easy to check the generated initramfs for its content. One may need
 to double-check if it contains the relevant binaries, libs or modules:

-- 
Ben Hutchings
Life is what happens to you while you're busy making other plans.
                                                               - John Lennon

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: