nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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