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