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