dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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