[Skiboot] [PATCH] Renaming to opal-gard and minus escaping

Frédéric Bonnard frediz at linux.vnet.ibm.com
Mon Jun 22 21:12:45 AEST 2015


From: Frederic Bonnard <frediz at linux.vnet.ibm.com>

The binary installed is opal-gard so renaming all occurences of 'gard' else distro
package checkers complain.
Minus for options should be escaped, else this is considered as hyphens.

Signed-off-by: Frederic Bonnard <frediz at linux.vnet.ibm.com>
---
 external/gard/gard.1      | 32 --------------------------------
 external/gard/opal-gard.1 | 30 ++++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 32 deletions(-)
 delete mode 100644 external/gard/gard.1
 create mode 100644 external/gard/opal-gard.1

diff --git a/external/gard/gard.1 b/external/gard/gard.1
deleted file mode 100644
index 754d39d..0000000
--- a/external/gard/gard.1
+++ /dev/null
@@ -1,32 +0,0 @@
-.TH GARD 1 "19 June 2015"
-.SH NAME
-gard \- GUARD Partition manipulation tool for OpenPower hardware
-.SH SYNOPSIS
-\fBgard\fP [ -e | -f \fIfile\fP | -p ]
-\fIcommand\fP
-.SH DESCRIPTION
-\fBgard\fP allows reading of the GUARD partition on OpenPower hardware though the exposed mtd flash interface. The actual device (usually \fB/dev/mtd0\fR) is automatically detected.
-.SS Options
-\fB-e, --ecc\fP
-Force reading/writing with ECC bytes.
-.TP
-\fB-f, --file\fP \fIfile\fR
-Don't search for the \fB/dev/mtd\fR device, use \fIfile\fP instead.
-.TP
-.TP
-\fB-p, --part\fP
-Used in conjunction with -f to specify that just the GUARD partition is in the \fIfile\fR and that libffs shouldn't be used.
-.SS Commands
-\fIcommand\fP
-may be one of the following
-.TP
-\fBlist\fP
-List current GARD records
-.TP
-\fBshow\fP
-Show details of a GARD record
-.TP
-\fBclear\fP
-Clear GARD records
-.TP
-.TP
diff --git a/external/gard/opal-gard.1 b/external/gard/opal-gard.1
new file mode 100644
index 0000000..65b2144
--- /dev/null
+++ b/external/gard/opal-gard.1
@@ -0,0 +1,30 @@
+.TH opal-gard 1 "19 June 2015"
+.SH NAME
+opal-gard \- GUARD Partition manipulation tool for OpenPower hardware
+.SH SYNOPSIS
+\fBopal-gard\fP [ \-e | \-f \fIfile\fP | \-p ]
+\fIcommand\fP
+.SH DESCRIPTION
+\fBopal-gard\fP allows reading of the GUARD partition on OpenPower hardware though the exposed mtd flash interface. The actual device (usually \fB/dev/mtd0\fR) is automatically detected.
+.SS Options
+\fB\-e, \-\-ecc\fP
+Force reading/writing with ECC bytes.
+.TP
+\fB\-f, \-\-file\fP \fIfile\fR
+Don't search for the \fB/dev/mtd\fR device, use \fIfile\fP instead.
+.TP
+.TP
+\fB\-p, \-\-part\fP
+Used in conjunction with \-f to specify that just the GUARD partition is in the \fIfile\fR and that libffs shouldn't be used.
+.SS Commands
+\fIcommand\fP
+may be one of the following
+.TP
+\fBlist\fP
+List current GARD records
+.TP
+\fBshow\fP
+Show details of a GARD record
+.TP
+\fBclear\fP
+Clear GARD records
-- 
1.9.1



More information about the Skiboot mailing list