9f65cc
From 8272fd2f1b676abe22abaacfe7c1ebd24b56fcb6 Mon Sep 17 00:00:00 2001
9f65cc
From: Pedro Monreal <pmgdeb@gmail.com>
9f65cc
Date: Thu, 8 Nov 2018 14:15:38 +0100
9f65cc
Subject: [PATCH] Fixed some SUSE specific typos and outputs
9f65cc
9f65cc
(cherry picked from commit f18d069d4664c148df8563139b358806ecfe6799)
9f65cc
9f65cc
Resolves: #1959336
9f65cc
---
9f65cc
 dracut.conf.5.asc                                        | 2 +-
9f65cc
 dracut.conf.d/suse.conf.example                          | 4 ++--
9f65cc
 dracut.sh                                                | 4 ++--
9f65cc
 dracut.usage.asc                                         | 6 +++---
9f65cc
 mkinitrd-suse.sh                                         | 4 ++--
9f65cc
 modules.d/98dracut-systemd/dracut-shutdown.service.8.asc | 2 +-
9f65cc
 modules.d/98syslog/README                                | 2 +-
9f65cc
 modules.d/99base/dracut-lib.sh                           | 2 +-
9f65cc
 8 files changed, 13 insertions(+), 13 deletions(-)
9f65cc
9f65cc
diff --git a/dracut.conf.5.asc b/dracut.conf.5.asc
9f65cc
index 1dfa28f6..081ed70c 100644
9f65cc
--- a/dracut.conf.5.asc
9f65cc
+++ b/dracut.conf.5.asc
9f65cc
@@ -157,7 +157,7 @@ provide a valid _/etc/fstab_.
9f65cc
     archive. This cpio archive gets glued (concatenated, uncompressed one
9f65cc
     must be the first one) to the compressed cpio archive. The first,
9f65cc
     uncompressed cpio archive is for data which the kernel must be able
9f65cc
-    to access very early (and cannot make use of uncompress alogrithms yet)
9f65cc
+    to access very early (and cannot make use of uncompress algorithms yet)
9f65cc
     like microcode or ACPI tables (default=no).
9f65cc
 
9f65cc
 *acpi_table_dir=*"__<dir>__"::
9f65cc
diff --git a/dracut.conf.d/suse.conf.example b/dracut.conf.d/suse.conf.example
9f65cc
index 37ffd72b..b5d962db 100644
9f65cc
--- a/dracut.conf.d/suse.conf.example
9f65cc
+++ b/dracut.conf.d/suse.conf.example
9f65cc
@@ -1,6 +1,6 @@
9f65cc
-# SUSE specifc dracut settings
9f65cc
+# SUSE specific dracut settings
9f65cc
 #
9f65cc
-# SUSE by default always builds a as small as possible initrd for performance
9f65cc
+# SUSE by default always builds as small as possible initrd for performance
9f65cc
 # and resource reasons.
9f65cc
 # If you like to build a generic initrd which works on other platforms than
9f65cc
 # on the one dracut/mkinitrd got called comment out below setting(s).
9f65cc
diff --git a/dracut.sh b/dracut.sh
9f65cc
index 966350c5..b9657dc6 100755
9f65cc
--- a/dracut.sh
9f65cc
+++ b/dracut.sh
9f65cc
@@ -1679,7 +1679,7 @@ if [[ $early_microcode = yes ]]; then
9f65cc
         for _fwdir in $fw_dir; do
9f65cc
             if [[ -d $_fwdir && -d $_fwdir/$_fw ]]; then
9f65cc
                 _src="*"
9f65cc
-                dinfo "*** Constructing ${ucode_dest[$idx]} ****"
9f65cc
+                dinfo "*** Constructing ${ucode_dest[$idx]} ***"
9f65cc
                 if [[ $hostonly ]]; then
9f65cc
                     _src=$(get_ucode_file)
9f65cc
                     [[ $_src ]] || break
9f65cc
@@ -1762,7 +1762,7 @@ if dracut_module_included "squash"; then
9f65cc
 
9f65cc
     # Move some files out side of the squash image, including:
9f65cc
     # - Files required to boot and mount the squashfs image
9f65cc
-    # - Files need to be accessable without mounting the squash image
9f65cc
+    # - Files need to be accessible without mounting the squash image
9f65cc
     required_in_root() {
9f65cc
         local file=$1
9f65cc
         local _sqsh_file=$squash_dir/$file
9f65cc
diff --git a/dracut.usage.asc b/dracut.usage.asc
9f65cc
index 2b598ee6..0f219fc9 100644
9f65cc
--- a/dracut.usage.asc
9f65cc
+++ b/dracut.usage.asc
9f65cc
@@ -83,7 +83,7 @@ on the command line:
9f65cc
 === Adding Kernel Modules
9f65cc
 If you need a special kernel module in the initramfs, which is not
9f65cc
 automatically picked up by dracut, you have the use the --add-drivers option
9f65cc
-on the command line or  the drivers vaiable in  the _/etc/dracut.conf_
9f65cc
+on the command line or  the drivers variable in  the _/etc/dracut.conf_
9f65cc
 or _/etc/dracut.conf.d/myconf.conf_ configuration file (see *dracut.conf*(5)):
9f65cc
 ----
9f65cc
 # dracut --add-drivers mymod initramfs-with-mymod.img
9f65cc
@@ -94,7 +94,7 @@ An initramfs generated without the "hostonly" mode, does not contain any system
9f65cc
 configuration files (except for some special exceptions), so the configuration
9f65cc
 has to be done on the kernel command line. With this flexibility, you can easily
9f65cc
 boot from a changed root partition, without the need to recompile the initramfs
9f65cc
-image. So, you could completly change your root partition (move it inside a md
9f65cc
+image. So, you could completely change your root partition (move it inside a md
9f65cc
 raid with encryption and LVM on top), as long as you specify the correct
9f65cc
 filesystem LABEL or UUID on the kernel command line for your root device, dracut
9f65cc
 will find it and boot from it.
9f65cc
@@ -185,7 +185,7 @@ This turns off every automatic assembly of LVM, MD raids, DM raids and
9f65cc
 crypto LUKS.
9f65cc
 
9f65cc
 Of course, you could also omit the dracut modules in the initramfs creation
9f65cc
-process, but then you would lose the posibility to turn it on on demand.
9f65cc
+process, but then you would lose the possibility to turn it on on demand.
9f65cc
 
9f65cc
 
9f65cc
 [[Injecting]]
9f65cc
diff --git a/mkinitrd-suse.sh b/mkinitrd-suse.sh
9f65cc
index 20d85da1..b6af2b19 100755
9f65cc
--- a/mkinitrd-suse.sh
9f65cc
+++ b/mkinitrd-suse.sh
9f65cc
@@ -1,6 +1,6 @@
9f65cc
 #!/bin/bash --norc
9f65cc
 #
9f65cc
-# mkinitrd compability wrapper for SUSE.
9f65cc
+# mkinitrd compatibility wrapper for SUSE.
9f65cc
 #
9f65cc
 # Copyright (c) 2013 SUSE Linux Products GmbH. All rights reserved.
9f65cc
 #
9f65cc
@@ -62,7 +62,7 @@ usage () {
9f65cc
     $cmd "				/etc/sysconfig/kernel."
9f65cc
     $cmd "	-d root_device		Root device. Defaults to the device from"
9f65cc
     $cmd "				which / is mounted. Overrides the rootdev"
9f65cc
-    $cmd "				enviroment variable if set."
9f65cc
+    $cmd "				environment variable if set."
9f65cc
     $cmd "	-j device		Journal device"
9f65cc
     $cmd "	-D interface		Run dhcp on the specified interface."
9f65cc
     $cmd "	-I interface		Configure the specified interface statically."
9f65cc
diff --git a/modules.d/98dracut-systemd/dracut-shutdown.service.8.asc b/modules.d/98dracut-systemd/dracut-shutdown.service.8.asc
9f65cc
index f4fbb618..ba80b187 100644
9f65cc
--- a/modules.d/98dracut-systemd/dracut-shutdown.service.8.asc
9f65cc
+++ b/modules.d/98dracut-systemd/dracut-shutdown.service.8.asc
9f65cc
@@ -15,7 +15,7 @@ dracut-shutdown.service
9f65cc
 DESCRIPTION
9f65cc
 -----------
9f65cc
 This service unpacks the initramfs image to /run/initramfs.
9f65cc
-systemd pivots into /run/initramfs at shutdown, so the root filesytem
9f65cc
+systemd pivots into /run/initramfs at shutdown, so the root filesystem
9f65cc
 can be safely unmounted.
9f65cc
 
9f65cc
 The following steps are executed during a shutdown:
9f65cc
diff --git a/modules.d/98syslog/README b/modules.d/98syslog/README
9f65cc
index 30a819c0..9eb5adee 100644
9f65cc
--- a/modules.d/98syslog/README
9f65cc
+++ b/modules.d/98syslog/README
9f65cc
@@ -11,7 +11,7 @@ Then if syslog is configured it is started and will forward all
9f65cc
 kernel messages to the given syslog server.
9f65cc
 
9f65cc
 The syslog implementation is detected automatically by finding the
9f65cc
-apropriate binary with the following order:
9f65cc
+appropriate binary with the following order:
9f65cc
 rsyslogd
9f65cc
 syslogd
9f65cc
 syslog-ng
9f65cc
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
9f65cc
index 96dd55ad..89a1d69a 100755
9f65cc
--- a/modules.d/99base/dracut-lib.sh
9f65cc
+++ b/modules.d/99base/dracut-lib.sh
9f65cc
@@ -620,7 +620,7 @@ nfsroot_to_var() {
9f65cc
 # prints:
9f65cc
 #   ENV{ID_FS_LABEL}="boot"
9f65cc
 #
9f65cc
-# TOOD: symlinks
9f65cc
+# TODO: symlinks
9f65cc
 udevmatch() {
9f65cc
     case "$1" in
9f65cc
     UUID=????????-????-????-????-????????????|LABEL=*|PARTLABEL=*|PARTUUID=????????-????-????-????-????????????)
9f65cc