[dpdk-dev] doc: correct source extract command

Message ID 5f75987b3a17859f4c0961e3ddee72db938c4f07.1481627935.git.baruch@tkos.co.il (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel compilation success Compilation OK

Commit Message

Baruch Siach Dec. 13, 2016, 11:18 a.m. UTC
  DPDK source archives are .tar.xz or .tar.gz, not .zip. Use .tar.xz in the
instructions, since that is what the main download page links to.

Also, correct the archive file and directory name capitalization.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 doc/guides/linux_gsg/build_dpdk.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

John McNamara Dec. 15, 2016, 2:59 p.m. UTC | #1
> -----Original Message-----
> From: Baruch Siach [mailto:baruch@tkos.co.il]
> Sent: Tuesday, December 13, 2016 11:19 AM
> To: dev@dpdk.org
> Cc: Mcnamara, John <john.mcnamara@intel.com>; David Marchand
> <david.marchand@6wind.com>; Baruch Siach <baruch@tkos.co.il>
> Subject: [PATCH] doc: correct source extract command
> 
> DPDK source archives are .tar.xz or .tar.gz, not .zip. Use .tar.xz in the
> instructions, since that is what the main download page links to.
> 
> Also, correct the archive file and directory name capitalization.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Acked-by: John McNamara <john.mcnamara@intel.com>
  
Thomas Monjalon Dec. 20, 2016, 10:31 a.m. UTC | #2
> > DPDK source archives are .tar.xz or .tar.gz, not .zip. Use .tar.xz in the
> > instructions, since that is what the main download page links to.
> > 
> > Also, correct the archive file and directory name capitalization.
> > 
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>

Applied, thanks
  

Patch

diff --git a/doc/guides/linux_gsg/build_dpdk.rst b/doc/guides/linux_gsg/build_dpdk.rst
index 527c38dc9a9b..51a6210620a8 100644
--- a/doc/guides/linux_gsg/build_dpdk.rst
+++ b/doc/guides/linux_gsg/build_dpdk.rst
@@ -45,8 +45,8 @@  First, uncompress the archive and move to the uncompressed DPDK source directory
 
 .. code-block:: console
 
-    unzip DPDK-<version>.zip
-    cd DPDK-<version>
+    tar xJf dpdk-<version>.tar.xz
+    cd dpdk-<version>
 
 The DPDK is composed of several directories: