dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0082-Fix-up-some-man-pages-rpmdiff-noticed.patch

8631a2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8631a2
From: Peter Jones <pjones@redhat.com>
8631a2
Date: Tue, 23 Sep 2014 09:58:49 -0400
8631a2
Subject: [PATCH] Fix up some man pages rpmdiff noticed.
8631a2
8631a2
---
8631a2
 configure.ac             |  2 ++
8631a2
 util/grub-macbless.8     | 26 +++++++++++++++++++
8631a2
 util/grub-mkimage.1      |  2 +-
8631a2
 util/grub-syslinux2cfg.1 | 65 ++++++++++++++++++++++++++++++++++++++++++++++++
8631a2
 4 files changed, 94 insertions(+), 1 deletion(-)
8631a2
 create mode 100644 util/grub-macbless.8
8631a2
 create mode 100644 util/grub-syslinux2cfg.1
8631a2
8631a2
diff --git a/configure.ac b/configure.ac
8631a2
index aa06ed59c8d..f69f8986791 100644
8631a2
--- a/configure.ac
8631a2
+++ b/configure.ac
8631a2
@@ -80,6 +80,7 @@ grub_TRANSFORM([grub-get-kernel-settings.3])
8631a2
 grub_TRANSFORM([grub-glue-efi.3])
8631a2
 grub_TRANSFORM([grub-install.1])
8631a2
 grub_TRANSFORM([grub-kbdcomp.3])
8631a2
+grub_TRANSFORM([grub-macbless.8])
8631a2
 grub_TRANSFORM([grub-menulst2cfg.1])
8631a2
 grub_TRANSFORM([grub-mkconfig.1])
8631a2
 grub_TRANSFORM([grub-mkfont.3])
8631a2
@@ -98,6 +99,7 @@ grub_TRANSFORM([grub-render-label.3])
8631a2
 grub_TRANSFORM([grub-script-check.3])
8631a2
 grub_TRANSFORM([grub-set-default.1])
8631a2
 grub_TRANSFORM([grub-sparc64-setup.3])
8631a2
+grub_TRANSFORM([grub-syslinux2cfg.1])
8631a2
 
8631a2
 # Optimization flag.  Allow user to override.
8631a2
 if test "x$TARGET_CFLAGS" = x; then
8631a2
diff --git a/util/grub-macbless.8 b/util/grub-macbless.8
8631a2
new file mode 100644
8631a2
index 00000000000..ae842f3a606
8631a2
--- /dev/null
8631a2
+++ b/util/grub-macbless.8
8631a2
@@ -0,0 +1,26 @@
8631a2
+.TH GRUB-MACBLESS 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-macbless\fR \(em Mac-style bless utility for HFS or HFS+
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-macbless\fR [-p | --ppc] [-v | --verbose] [-x | --x86] \fIFILE\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-mkimage\fR blesses a file on an HFS or HFS+ file system, so that it
8631a2
+can be used to boot a Mac.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--ppc
8631a2
+Bless the file for use on PPC-based Macs.
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.TP
8631a2
+--x86
8631a2
+Bless the file for use on x86-based Macs.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"
8631a2
diff --git a/util/grub-mkimage.1 b/util/grub-mkimage.1
8631a2
index 4dea4f54597..0eaaafe505b 100644
8631a2
--- a/util/grub-mkimage.1
8631a2
+++ b/util/grub-mkimage.1
8631a2
@@ -17,7 +17,7 @@
8631a2
 [-v | --verbose] \fIMODULES\fR
8631a2
 
8631a2
 .SH DESCRIPTION
8631a2
-\fBgrub-mkimage\fI builds a bootable image of GRUB.
8631a2
+\fBgrub-mkimage\fR builds a bootable image of GRUB.
8631a2
 
8631a2
 .SH OPTIONS
8631a2
 .TP
8631a2
diff --git a/util/grub-syslinux2cfg.1 b/util/grub-syslinux2cfg.1
8631a2
new file mode 100644
8631a2
index 00000000000..85309482718
8631a2
--- /dev/null
8631a2
+++ b/util/grub-syslinux2cfg.1
8631a2
@@ -0,0 +1,65 @@
8631a2
+.TH GRUB-SYSLINUX2CFG 1 "Wed Feb 26 2014"
8631a2
+.SH NAME
8631a2
+\fBgrub-syslinux2cfg\fR \(em Transform a syslinux config file into a GRUB config.
8631a2
+
8631a2
+.SH SYNOPSIS
8631a2
+\fBgrub-syslinux2cfg\fR [-c | --cwd=\fRDIR\fI] [-r | --root=\fIDIR\fR] [-v | --verbose]
8631a2
+.RE
8631a2
+.RS 25
8631a2
+[-t | --target-root=\fIDIR\fR] [-T | --target-cwd=\fIDIR\fR]
8631a2
+.RE
8631a2
+.RS 25
8631a2
+[-o | --output=\fIFILE\fR] [[-i | --isolinux] |
8631a2
+.RE
8631a2
+.RS 46
8631a2
+ [-s | --syslinux] |
8631a2
+.RE
8631a2
+.RS 46
8631a2
+ [-p | --pxelinux]] \fIFILE\fR
8631a2
+
8631a2
+.SH DESCRIPTION
8631a2
+\fBgrub-syslinux2cfg\fR builds a GRUB configuration file out of an existing
8631a2
+syslinux configuration file.
8631a2
+
8631a2
+.SH OPTIONS
8631a2
+.TP
8631a2
+--cwd=\fIDIR\fR
8631a2
+Set \fIDIR\fR as syslinux's working directory.  The default is to use the
8631a2
+parent directory of the input file.
8631a2
+
8631a2
+.TP
8631a2
+--root=\fIDIR\fR
8631a2
+Set \fIDIR\fR as the root directory of the syslinux disk.  The default value
8631a2
+is "/".
8631a2
+
8631a2
+.TP
8631a2
+--verbose
8631a2
+Print verbose messages.
8631a2
+
8631a2
+.TP
8631a2
+--target-root=\fIDIR\fR
8631a2
+Root directory as it will be seen at runtime.  The default value is "/".
8631a2
+
8631a2
+.TP
8631a2
+--target-cwd=\fIDIR\fR
8631a2
+Working directory of syslinux as it will be seen at runtime.  The default
8631a2
+value is the parent directory of the input file.
8631a2
+
8631a2
+.TP
8631a2
+--output=\fIFILE\fR
8631a2
+Write the new config file to \fIFILE\fR.  The default value is standard output.
8631a2
+
8631a2
+.TP
8631a2
+--isolinux
8631a2
+Assume that the input file is an isolinux configuration file.
8631a2
+
8631a2
+.TP
8631a2
+--pxelinux
8631a2
+Assume that the input file is a pxelinux configuration file.
8631a2
+
8631a2
+.TP
8631a2
+--syslinux
8631a2
+Assume that the input file is a syslinux configuration file.
8631a2
+
8631a2
+.SH SEE ALSO
8631a2
+.BR "info grub"