Blame SOURCES/0028-More-edits-for-grubby.8-1232168.patch

cca0c4
From b24cd1c5c8467ac6f7c5680db3a49ef6adc8df21 Mon Sep 17 00:00:00 2001
cca0c4
From: Peter Jones <pjones@redhat.com>
cca0c4
Date: Tue, 28 Jun 2016 16:50:37 -0400
cca0c4
Subject: [PATCH 28/55] More edits for grubby.8 (#1232168)
cca0c4
cca0c4
- Don't switch between the passive and active voice between the option
cca0c4
  descriptions
cca0c4
- keep the same point of view between options ("[it] removes all
cca0c4
  entries" vs "remove all entries")
cca0c4
- line wrap everywhere except the example envocations at <80 columns,
cca0c4
  not 100.
cca0c4
- consistent use of i386 vs ia32
cca0c4
cca0c4
Signed-off-by: Peter Jones <pjones@redhat.com>
cca0c4
cca0c4
Related: rhbz#1232168
cca0c4
---
cca0c4
 grubby.8 | 88 ++++++++++++++++++++++++++++++--------------------------
cca0c4
 1 file changed, 48 insertions(+), 40 deletions(-)
cca0c4
cca0c4
diff --git a/grubby.8 b/grubby.8
cca0c4
index 64a6984fba0..690676858ca 100644
cca0c4
--- a/grubby.8
cca0c4
+++ b/grubby.8
cca0c4
@@ -2,11 +2,12 @@
cca0c4
 
cca0c4
 .SH NAME
cca0c4
 
cca0c4
-grubby \- command line tool used to configure bootloader menu entries across multiple architectures
cca0c4
+grubby \- command line tool used to configure bootloader menu entries across
cca0c4
+multiple architectures
cca0c4
 
cca0c4
 .SH SYNOPSIS
cca0c4
 
cca0c4
-\fBgrubby\fR [\fIOPTIONS...\fR]
cca0c4
+\fBgrubby\fR [\fIOPTIONS\fR]
cca0c4
 
cca0c4
 .SH DESCRIPTION
cca0c4
 
cca0c4
@@ -37,13 +38,13 @@ are deprecated in favor of previously mentioned bootloaders. The
cca0c4
 
cca0c4
 .SS Default Behavior
cca0c4
 
cca0c4
-The default architecture is chosen at compile time. The grubby executable
cca0c4
-has a series of built in assumptions about what bootloader is being used and
cca0c4
-where its configuration file lives. If no output format option is specified
cca0c4
-on the command line then grubby will use these default settings to first
cca0c4
-search for an existing configuration and, if it is not found, assume that
cca0c4
-it should be placed in the standard location. These default assumptions are
cca0c4
-listed in the table below.
cca0c4
+The default bootloader target is primarily determined by the architecture
cca0c4
+for which grubby has been built.  Each architecture has a preferred
cca0c4
+bootloader, and each bootloader has its own configuration file.  If no
cca0c4
+bootloader is selected on the command line, grubby will use these default
cca0c4
+settings to search for an existing configuration.  If no bootloader
cca0c4
+configuration file is found, grubby will use the default value for that
cca0c4
+architecture.  These defaults are listed in the table below.
cca0c4
 
cca0c4
 .TS
cca0c4
 allbox;
cca0c4
@@ -81,19 +82,18 @@ Add a new boot entry for the kernel located at \fIkernel-path\fR. A title for
cca0c4
 the boot entry must be set using \fB-\-title\fR. Most invocations should also
cca0c4
 include \fB-\-initrd\fR with memtest86 as a notable exception.
cca0c4
 
cca0c4
-The \fB-\-update-kernel\fR
cca0c4
-option may not be used in the same invocation. 
cca0c4
+The \fB-\-update-kernel\fR option may not be used in the same invocation.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-remove-kernel\fR=\fIkernel-path\fR
cca0c4
-Removes all boot entries which match \fIkernel-path\fR. This may be used
cca0c4
-along with \fB-\-add-kernel\fR, in which case the new kernel being added will
cca0c4
-never be removed.
cca0c4
+Remove all boot entries which match \fIkernel-path\fR. This may be used
cca0c4
+along with \fB-\-add-kernel\fR, in which case the new entry being added will
cca0c4
+not be removed.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-update-kernel\fR=\fIkernel-path\fR
cca0c4
-The entries for kernels matching \fRkernel-path\fR are updated. Currently
cca0c4
-the only items that can be updated is the kernel argument list, which is
cca0c4
+Update the entries for kernels matching \fRkernel-path\fR. Currently
cca0c4
+the only item that can be updated is the kernel argument list, which is
cca0c4
 modified via the \fB-\-args\fR and \fB-\-remove-args\fR options.
cca0c4
 
cca0c4
 .TP
cca0c4
@@ -135,7 +135,7 @@ being added.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-efi\fR
cca0c4
-Use linuxefi and initrdefi when constructing bootloader stanzas instead of linux and initrd.
cca0c4
+Use appropriate bootloader commands for EFI on this architecture.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-set-default\fR=\fIkernel-path\fR
cca0c4
@@ -188,16 +188,18 @@ Display information on all boot entries which match \fIkernel-path\fR. I
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-bootloader-probe\fR
cca0c4
+Attempt to probe for installed bootloaders.  If this option is specified,
cca0c4
 \fBgrubby\fR tries to determine if \fBgrub\fR or \fBlilo\fR is currently
cca0c4
-installed. When one of those bootloaders is found the name of that bootloader
cca0c4
-is displayed on stdout.  Both could be installed (on different devices), and
cca0c4
-grubby will print out the names of both bootloaders, one per line. The probe
cca0c4
-for \fBgrub\fR requires a commented out boot directive \fBgrub.conf\fR
cca0c4
-identical to the standard directive in the lilo configuration file. If this
cca0c4
-is not present \fBgrubby\fR will assume grub is not installed (note
cca0c4
-that \fBanaconda\fR places this directive in \fBgrub.conf\fR files it creates).
cca0c4
+installed. When one of those bootloaders is found the name of that
cca0c4
+bootloader is displayed on stdout.  Both could be installed (on different
cca0c4
+devices), and grubby will print out the names of both bootloaders, one per
cca0c4
+line. The probe for \fBgrub\fR requires a commented out boot directive
cca0c4
+\fBgrub.conf\fR identical to the standard directive in the lilo
cca0c4
+configuration file. If this is not present \fBgrubby\fR will assume grub is
cca0c4
+not installed (note that \fBanaconda\fR places this directive in
cca0c4
+\fBgrub.conf\fR files it creates).
cca0c4
 
cca0c4
-\fIThis option is only available on i386 platforms.\fR
cca0c4
+\fIThis option is only available on x86 BIOS platforms.\fR
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-v\fR, \fB-\-version\fR
cca0c4
@@ -213,7 +215,8 @@ alternative bootloader.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-elilo\fR
cca0c4
-Use an \fBelilo\fR style configuration file. This is the default on ia64 platforms. This format is deprecated.
cca0c4
+Use an \fBelilo\fR style configuration file. This is the default on ia64
cca0c4
+platforms. This format is deprecated.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-extlinux\fR
cca0c4
@@ -221,13 +224,14 @@ Use an \fBextlinux\fR style configuration file. This format is deprecated.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-grub\fR
cca0c4
-Use a \fBgrub\fR style configuration file. This is the default on ia32 platforms.
cca0c4
+Use a \fBgrub\fR style configuration file. This is the default on the i386
cca0c4
+architecture.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-grub2\fR
cca0c4
-Use a \fBgrub2\fR style configuration file. This is the default on \fBx86_64\fR
cca0c4
-architecture as well as the \fBppc64\fR and \fBppc64le\fR architectures
cca0c4
-running on Power8 or later hardware.
cca0c4
+Use a \fBgrub2\fR style configuration file. This is the default on
cca0c4
+\fBx86_64\fR architecture as well as the \fBppc64\fR and \fBppc64le\fR
cca0c4
+architectures running on Power8 or later hardware.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-lilo\fR
cca0c4
@@ -235,7 +239,8 @@ Use a \fBlilo\fR style configuration file.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-silo\fR
cca0c4
-Use a \fBsilo\fR style configuration file. This is the default on SPARC systems. This format is legacy, deprecated, and unsupported.
cca0c4
+Use a \fBsilo\fR style configuration file. This is the default on SPARC
cca0c4
+systems. This format is legacy, deprecated, and unsupported.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-yaboot\fR
cca0c4
@@ -286,9 +291,9 @@ directive found in the template stanza.
cca0c4
 
cca0c4
 .TP
cca0c4
 \fB-\-devtreedir\fR=\fIfile_path\fR
cca0c4
-Use the specified \fIfile path\fR to load the devicetree definition. This is for
cca0c4
-platforms where a flat file is used instead of firmware to instruct the kernel
cca0c4
-how to communicate with devices.
cca0c4
+Use the specified \fIfile path\fR to load the devicetree definition. This is
cca0c4
+for platforms where a flat file is used instead of firmware to instruct the
cca0c4
+kernel how to communicate with devices.
cca0c4
 
cca0c4
 .SS Multiboot Options
cca0c4
 
cca0c4
@@ -341,12 +346,13 @@ kernel_args	Set of arguments for the kernel
cca0c4
 menu_index	Index number of a menu entry
cca0c4
 .TE
cca0c4
 
cca0c4
-The examples below quote strings that may have spaces or other whitespace in them. It is also
cca0c4
-perfectly valid to backslash escape these strings if that is more convenient.
cca0c4
+The examples below quote strings that may have spaces or other whitespace in
cca0c4
+them. It is also perfectly valid to backslash escape these strings if that
cca0c4
+is more convenient.
cca0c4
 
cca0c4
 .PP
cca0c4
-Add a new kernel entry and copy all options from the current default kernel. This is the behavior
cca0c4
-that most users will want.
cca0c4
+Add a new kernel entry and copy all options from the current default kernel.
cca0c4
+This is the behavior that most users will want.
cca0c4
 .IP
cca0c4
 \fBgrubby\fR --add-kernel=\fInew_kernel\fR --title="\fIentry_title\fR" --initrd="\fInew_initrd\fR" --copy-default
cca0c4
 .PP
cca0c4
@@ -358,13 +364,15 @@ Remove \fBall menu entries\fR for a specified kernel.
cca0c4
 .IP
cca0c4
 \fBgrubby\fR --remove-kernel=\fIold_kernel\fR
cca0c4
 .PP
cca0c4
-Target a single menu entry to remove without targetting other entries with the same kernel.
cca0c4
+Target a single menu entry to remove without targetting other entries with
cca0c4
+the same kernel.
cca0c4
 .IP
cca0c4
 \fBgrubby\fR --info=\fIold_kernel\fR
cca0c4
 
cca0c4
 \fBgrubby\fR --remove-kernel=\fImenu_index\fR
cca0c4
 .PP
cca0c4
-Update the arguments for all entries of a specific kernel. New arguments get added while existing arguments get updated values.
cca0c4
+Update the arguments for all entries of a specific kernel. New arguments get
cca0c4
+added while existing arguments get updated values.
cca0c4
 .IP
cca0c4
 \fBgrubby\fR --update-kernel=\fIcurrent_kernel\fR --args="\fIkernel_args\fR"
cca0c4
 .PP
cca0c4
-- 
cca0c4
2.17.1
cca0c4