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