Add missing manpage for ffspart

This commit is contained in:
Than Ngo 2021-05-10 12:15:31 +02:00
parent 41b982b526
commit 9804396cbc
2 changed files with 50 additions and 1 deletions

43
ffspart.man Normal file
View File

@ -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.

View File

@ -2,7 +2,7 @@
Name: opal-prd Name: opal-prd
Version: 6.7.1 Version: 6.7.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: OPAL Processor Recovery Diagnostics Daemon Summary: OPAL Processor Recovery Diagnostics Daemon
License: ASL 2.0 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 Source0: https://github.com/open-power/%{project}/archive/v%{version}/%{project}-%{version}.tar.gz
Source1: opal-prd-rsyslog Source1: opal-prd-rsyslog
Source2: opal-prd-logrotate Source2: opal-prd-logrotate
Source3: ffspart.man
%description %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 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 -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 %post
%systemd_post opal-prd.service %systemd_post opal-prd.service
@ -139,6 +142,9 @@ install -D -p -m 755 external/pci-scripts/phberr.py %{buildroot}%{_bindir}/phber
%changelog %changelog
* Mon May 10 2021 Than Ngo <than@redhat.com> - 6.7.1-3
- Add missing manpage for ffspart
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.1-2 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild