From 9804396cbc6c3593812324957f3c5cd83b25aff4 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 10 May 2021 12:15:31 +0200 Subject: [PATCH] Add missing manpage for ffspart --- ffspart.man | 43 +++++++++++++++++++++++++++++++++++++++++++ opal-prd.spec | 8 +++++++- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 ffspart.man diff --git a/ffspart.man b/ffspart.man new file mode 100644 index 0000000..ac8b231 --- /dev/null +++ b/ffspart.man @@ -0,0 +1,43 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3. +.TH ffspart "1" "Mai 2021" "Open-Power FFS format tool 6.7.1" "User Commands" +.SH NAME +Open-Power \- manual page for Open-Power FFS format tool 6.7.1 +.SH SYNOPSIS +.B ffspart +[\fI\,options\/\fR] \fI\,-e -s size -c num -i layout_file -p pnor_file \/\fR... +.SH DESCRIPTION +Open\-Power FFS format tool 6.7.1 +.SH OPTIONS +.HP +\fB\-e\fR, \fB\-\-allow_empty\fR +.IP +Create partition as blank if not specified (sets ECC if flag set) +.HP +\fB\-s\fR, \fB\-\-block_size\fR=\fI\,size\/\fR +.IP +Size (in hex with leading 0x) of the blocks on the flash in bytes +.HP +\fB\-c\fR, \fB\-\-block_count\fR=\fI\,num\/\fR +.IP +Number of blocks on the flash +.HP +\fB\-i\fR, \fB\-\-input\fR=\fI\,file\/\fR +.IP +File containing the required partition data +.HP +\fB\-p\fR, \fB\-\-pnor\fR=\fI\,file\/\fR +.IP +Output file to write data +.PP +.SH "SEE ALSO" +The full documentation for +.B ffspart +is maintained as a Texinfo manual. If the +.B info +and +.B ffspart +programs are properly installed at your site, the command +.IP +.B info ffspart +.PP +should give you access to the complete manual. diff --git a/opal-prd.spec b/opal-prd.spec index 1a90fd0..8aaf7fd 100644 --- a/opal-prd.spec +++ b/opal-prd.spec @@ -2,7 +2,7 @@ Name: opal-prd Version: 6.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: OPAL Processor Recovery Diagnostics Daemon License: ASL 2.0 @@ -27,6 +27,7 @@ Requires(postun): systemd Source0: https://github.com/open-power/%{project}/archive/v%{version}/%{project}-%{version}.tar.gz Source1: opal-prd-rsyslog Source2: opal-prd-logrotate +Source3: ffspart.man %description @@ -99,6 +100,8 @@ install -m 644 -p %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/opal-prd install -D -p -m 644 external/pci-scripts/ppc.py %{buildroot}%{python3_sitelib}/ppc/__init__.py install -D -p -m 755 external/pci-scripts/phberr.py %{buildroot}%{_bindir}/phberr +# install ffspart manpage +install -m 644 -p %{SOURCE3} %{buildroot}%{_mandir}/man1/ffspart.1 %post %systemd_post opal-prd.service @@ -139,6 +142,9 @@ install -D -p -m 755 external/pci-scripts/phberr.py %{buildroot}%{_bindir}/phber %changelog +* Mon May 10 2021 Than Ngo - 6.7.1-3 +- Add missing manpage for ffspart + * Tue Jan 26 2021 Fedora Release Engineering - 6.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild