nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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