From 1566c7599d021a09179bc59ef39e07f80e542c99 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Mon, 9 Apr 2007 00:10:24 +0200 Subject: man initramfs-tools document valid script names --- debian/changelog | 4 +++- initramfs-tools.8 | 9 ++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index c440f5d..37729e2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,6 +41,8 @@ initramfs-tools (0.86) UNRELEASED; urgency=low backup scripts get added, but they shouldn't lead to a panic. Also skip directories that might lay around. (closes: 398347) (LP: #76131) + * initramfs-tools.8: Document valid script names. + * mkinitramfs: Don't add backup scripts to initramfs. (closes: 378682) (LP: #78348) @@ -54,7 +56,7 @@ initramfs-tools (0.86) UNRELEASED; urgency=low Thanks Bob Montgomery for the suggestion. (closes: 409995) - -- maximilian attems Sun, 8 Apr 2007 00:20:20 +0200 + -- maximilian attems Mon, 9 Apr 2007 00:08:11 +0200 initramfs-tools (0.85g) unstable; urgency=high diff --git a/initramfs-tools.8 b/initramfs-tools.8 index e280ba4..c102de0 100644 --- a/initramfs-tools.8 +++ b/initramfs-tools.8 @@ -1,4 +1,4 @@ -.TH INITRAMFS-TOOLS 8 "Date: 2006/10/14" "" "mkinitramfs script overview" +.TH INITRAMFS-TOOLS 8 "Date: 2007/04/09" "" "mkinitramfs script overview" .SH NAME initramfs-tools \- an introduction to writing scripts for mkinitramfs @@ -9,6 +9,9 @@ will be used during different phases of execution. Each of these will be discussed separately below with the help of an imaginary tool which performs a frobnication of a lvm partition prior to mounting the root partition. +Valid boot and hook scripts names consist solely of alphabetics, numerics +and underscores. Other scripts are discarded. + .SS Hook scripts These are used when an initramfs image is created and not included in the image itself. They can however cause files to be included in the image. @@ -18,10 +21,6 @@ These are included in the initramfs image and normally executed during kernel boot in the early user-space before the root partition has been mounted. -initramfs-tools uses shell variable names for handling dependencies. -Notice that `-' is not a valid shell variable name and thus should -not be used as script filename. - .SH INIT SCRIPT The script which is executed first and is in charge of running all other scripts can be found in /usr/share/initramfs-tools/init. It takes a number of -- cgit v1.2.3