doc: update info for pyelftools install

Message ID 20210212144628.2065224-1-ktraynor@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series doc: update info for pyelftools install |

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/travis-robot fail travis build: failed
ci/checkpatch success coding style OK

Commit Message

Kevin Traynor Feb. 12, 2021, 2:46 p.m. UTC
  python-pyelftools is not packaged for RHEL/CentOS with
the exception of RHEL7 EPEL.

Add command to install it with pip.

Fixes: f0f93a7adfee ("buildtools: use Python pmdinfogen")

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Comments

Bruce Richardson Feb. 12, 2021, 3:05 p.m. UTC | #1
On Fri, Feb 12, 2021 at 02:46:28PM +0000, Kevin Traynor wrote:
> python-pyelftools is not packaged for RHEL/CentOS with
> the exception of RHEL7 EPEL.
> 
> Add command to install it with pip.
> 
> Fixes: f0f93a7adfee ("buildtools: use Python pmdinfogen")
> 
> Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
> ---
>  doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
> index 4a401210d..d7ea8520e 100644
> --- a/doc/guides/linux_gsg/sys_reqs.rst
> +++ b/doc/guides/linux_gsg/sys_reqs.rst
> @@ -55,5 +55,7 @@ Compilation of the DPDK
>  *   ``pyelftools`` (version 0.22+)
>  
> -    * For RHEL/Fedora systems it can be installed using ``dnf install python-pyelftools``
> +    * For Fedora systems it can be installed using ``dnf install python-pyelftools``
> +
> +    * For RHEL/CentOS systems it can be installed using ``pip3 install pyelftools``
>  
>      * For Ubuntu/Debian it can be installed using ``apt install python3-pyelftools``
> -- 
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  
Thomas Monjalon Feb. 14, 2021, 9:49 a.m. UTC | #2
12/02/2021 16:05, Bruce Richardson:
> On Fri, Feb 12, 2021 at 02:46:28PM +0000, Kevin Traynor wrote:
> > python-pyelftools is not packaged for RHEL/CentOS with
> > the exception of RHEL7 EPEL.
> > 
> > Add command to install it with pip.
> > 
> > Fixes: f0f93a7adfee ("buildtools: use Python pmdinfogen")
> > 
> > Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
> > ---
> > --- a/doc/guides/linux_gsg/sys_reqs.rst
> > +++ b/doc/guides/linux_gsg/sys_reqs.rst
> > @@ -55,5 +55,7 @@ Compilation of the DPDK
> >  *   ``pyelftools`` (version 0.22+)
> >  
> > -    * For RHEL/Fedora systems it can be installed using ``dnf install python-pyelftools``
> > +    * For Fedora systems it can be installed using ``dnf install python-pyelftools``
> > +
> > +    * For RHEL/CentOS systems it can be installed using ``pip3 install pyelftools``
> >  
> >      * For Ubuntu/Debian it can be installed using ``apt install python3-pyelftools``
> 
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied, thanks
  

Patch

diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
index 4a401210d..d7ea8520e 100644
--- a/doc/guides/linux_gsg/sys_reqs.rst
+++ b/doc/guides/linux_gsg/sys_reqs.rst
@@ -55,5 +55,7 @@  Compilation of the DPDK
 *   ``pyelftools`` (version 0.22+)
 
-    * For RHEL/Fedora systems it can be installed using ``dnf install python-pyelftools``
+    * For Fedora systems it can be installed using ``dnf install python-pyelftools``
+
+    * For RHEL/CentOS systems it can be installed using ``pip3 install pyelftools``
 
     * For Ubuntu/Debian it can be installed using ``apt install python3-pyelftools``