ab0e4d
From 96c6e40774a78f2509aab1260d0f6aaa3b413597 Mon Sep 17 00:00:00 2001
ab0e4d
From: =?UTF-8?q?Renaud=20M=C3=A9trich?= <rmetrich@redhat.com>
ab0e4d
Date: Thu, 13 Feb 2020 11:37:13 +0100
ab0e4d
Subject: [PATCH] dracut.sh: added help for --regenerate-all
ab0e4d
ab0e4d
(cherry picked from commit cdc9cd0e41615d5f5f5af7887991a311cf5c4c7a)
ab0e4d
ab0e4d
Resolves: #1802522
ab0e4d
---
ab0e4d
 dracut.sh | 8 +++++---
ab0e4d
 1 file changed, 5 insertions(+), 3 deletions(-)
ab0e4d
ab0e4d
diff --git a/dracut.sh b/dracut.sh
ab0e4d
index 86e95449..e70dab16 100755
ab0e4d
--- a/dracut.sh
ab0e4d
+++ b/dracut.sh
ab0e4d
@@ -182,8 +182,8 @@ Creates initial ramdisk images for preloading modules
ab0e4d
   --mount "[DEV] [MP] [FSTYPE] [FSOPTS]"
ab0e4d
                         Mount device [DEV] on mountpoint [MP] with filesystem
ab0e4d
                         [FSTYPE] and options [FSOPTS] in the initramfs
ab0e4d
-  --mount "[MP]"	Same as above, but [DEV], [FSTYPE] and [FSOPTS] are
ab0e4d
-			determined by looking at the current mounts.
ab0e4d
+  --mount "[MP]"        Same as above, but [DEV], [FSTYPE] and [FSOPTS] are
ab0e4d
+                        determined by looking at the current mounts.
ab0e4d
   --add-device "[DEV]"  Bring up [DEV] in initramfs
ab0e4d
   -i, --include [SOURCE] [TARGET]
ab0e4d
                         Include the files in the SOURCE directory into the
ab0e4d
@@ -234,7 +234,9 @@ Creates initial ramdisk images for preloading modules
ab0e4d
   --uefi                Create an UEFI executable with the kernel cmdline and
ab0e4d
                         kernel combined
ab0e4d
   --uefi-stub [FILE]    Use the UEFI stub [FILE] to create an UEFI executable
ab0e4d
-  --kernel-image [FILE] location of the kernel image
ab0e4d
+  --kernel-image [FILE] Location of the kernel image
ab0e4d
+  --regenerate-all      Regenerate all initramfs images at the default location
ab0e4d
+                        for the kernel versions found on the system
ab0e4d
 
ab0e4d
 If [LIST] has multiple arguments, then you have to put these in quotes.
ab0e4d
 
ab0e4d