summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorBert Schulze <spambemyguest@googlemail.com>2010-04-04 17:43:48 +0200
committermaximilian attems <maks@debian.org>2010-04-04 18:02:02 +0200
commitfe7e630857d2fd1c9b7af48f33d46e626ac6509e (patch)
tree20c62e19b7d24887bc033d3c630bc49a56531960 /hook-functions
parent0164c63083cf31e83660e866614c0cd83bd34bfd (diff)
downloadinitramfs-tools-fe7e630857d2fd1c9b7af48f33d46e626ac6509e.tar.gz
initramfs-tools-fe7e630857d2fd1c9b7af48f33d46e626ac6509e.zip
mkinitramfs: -c compression support / commandline override
fixed the commandline argument to select the compressor. also your test with "command" needed to be negated otherwise the fallback to gzip would take place everytime. -- frohe ostern Bert Schulze [ nuked trailing whitespace, and add comment for usage() ] Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions10
1 files changed, 6 insertions, 4 deletions
diff --git a/hook-functions b/hook-functions
index cf8ea54..ab2f486 100644
--- a/hook-functions
+++ b/hook-functions
@@ -465,6 +465,7 @@ auto_add_modules()
esac
}
+# mkinitramfs help message
usage()
{
cat >&2 << EOF
@@ -472,10 +473,11 @@ usage()
Usage: ${0} [OPTION]... -o outfile [version]
Options:
- -d confdir Specify an alternative configuration directory.
- -k Keep temporary directory used to make the image.
- -o outfile Write to outfile.
- -r root Override ROOT setting in initramfs.conf.
+ -c compress Override COMPRESS setting in initramfs.conf.
+ -d confdir Specify an alternative configuration directory.
+ -k Keep temporary directory used to make the image.
+ -o outfile Write to outfile.
+ -r root Override ROOT setting in initramfs.conf.
See mkinitramfs(8) for further details.
EOF