Harald Hoyer 308914
From 7169e5f0e43cdc9a0bdc93de33f3404d8c461acd Mon Sep 17 00:00:00 2001
Harald Hoyer 308914
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 308914
Date: Fri, 29 May 2020 11:03:19 +0200
Harald Hoyer 308914
Subject: [PATCH] dracut.conf.5.asc: document how to config --no-compress in
Harald Hoyer 308914
 the config
Harald Hoyer 308914
Harald Hoyer 308914
Fixes: https://github.com/dracutdevs/dracut/issues/824
Harald Hoyer 308914
---
Harald Hoyer 308914
 dracut.conf.5.asc | 3 ++-
Harald Hoyer 308914
 1 file changed, 2 insertions(+), 1 deletion(-)
Harald Hoyer 308914
Harald Hoyer 308914
diff --git a/dracut.conf.5.asc b/dracut.conf.5.asc
Harald Hoyer 308914
index 937f5423..f206f2f7 100644
Harald Hoyer 308914
--- a/dracut.conf.5.asc
Harald Hoyer 308914
+++ b/dracut.conf.5.asc
Harald Hoyer 308914
@@ -80,12 +80,13 @@ Configuration files must have the extension .conf; other extensions are ignored.
Harald Hoyer 308914
     Specify additional files to include in the initramfs, separated by spaces,
Harald Hoyer 308914
     if they exist.
Harald Hoyer 308914
 
Harald Hoyer 308914
-*compress=*"__{bzip2|lzma|xz|gzip|lzo|lz4|zstd|<compressor [args ...]>}__"::
Harald Hoyer 308914
+*compress=*"__{cat|bzip2|lzma|xz|gzip|lzo|lz4|zstd|<compressor [args ...]>}__"::
Harald Hoyer 308914
     Compress the generated initramfs using the passed compression program. If
Harald Hoyer 308914
     you pass it just the name of a compression program, it will call that
Harald Hoyer 308914
     program with known-working arguments. If you pass arguments, it will be called
Harald Hoyer 308914
     with exactly those arguments. Depending on what you pass, this may result in
Harald Hoyer 308914
     an initramfs that the kernel cannot decompress.
Harald Hoyer 308914
+    To disable compression, use "cat".
Harald Hoyer 308914
 
Harald Hoyer 308914
 *do_strip=*"__{yes|no}__"::
Harald Hoyer 308914
     Strip binaries in the initramfs (default=yes)
Harald Hoyer 308914