[FE training-materials-updates] Replace "tar Jxf" by "tar xf"
Michael Opdenacker
michael.opdenacker at free-electrons.com
Sun Feb 2 06:04:44 CET 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=e9ff01de5fd7c061d5f4072d2bfb6a7a078ce4f1
>---------------------------------------------------------------
commit e9ff01de5fd7c061d5f4072d2bfb6a7a078ce4f1
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Sun Feb 2 05:59:42 2014 +0100
Replace "tar Jxf" by "tar xf"
- Good to show people that tar automatically detects
the compression format.
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
e9ff01de5fd7c061d5f4072d2bfb6a7a078ce4f1
labs/boottime-bootloader/boottime-bootloader.tex | 2 +-
.../boottime-getting-started.tex | 2 +-
labs/boottime-install/boottime-install.tex | 2 +-
labs/boottime-kernel/boottime-kernel.tex | 2 +-
labs/boottime-measuring/boottime-measuring.tex | 2 +-
.../kernel-sources-download.tex | 2 +-
.../sysdev-linux-intro-sources.tex | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/labs/boottime-bootloader/boottime-bootloader.tex b/labs/boottime-bootloader/boottime-bootloader.tex
index 43b6463..a853d2d 100644
--- a/labs/boottime-bootloader/boottime-bootloader.tex
+++ b/labs/boottime-bootloader/boottime-bootloader.tex
@@ -21,7 +21,7 @@ for details about where we got these sources from.}
\begin{verbatim}
cd /opt/felabs/boottime/barebox
cp /opt/BootTime/downloads/barebox-2013.08.tar.xz .
-tar Jxf barebox-2013.08.tar.xz
+tar xf barebox-2013.08.tar.xz
\end{verbatim}
We also apply some patches providing configuration and environments files
diff --git a/labs/boottime-getting-started/boottime-getting-started.tex b/labs/boottime-getting-started/boottime-getting-started.tex
index b604243..2e19aa9 100644
--- a/labs/boottime-getting-started/boottime-getting-started.tex
+++ b/labs/boottime-getting-started/boottime-getting-started.tex
@@ -117,7 +117,7 @@ Let's take the copy of the demo from the USB flash drive and extract it:
\begin{verbatim}
cp /media/BootTime/downloads/sama5d3xek-demo.tar.xz .
-tar Jxf sama5d3xek-demo.tar.xz
+tar xf sama5d3xek-demo.tar.xz
\end{verbatim}
SAM-BA requires an extra Ubuntu package:
diff --git a/labs/boottime-install/boottime-install.tex b/labs/boottime-install/boottime-install.tex
index 83300dc..4de8a3a 100644
--- a/labs/boottime-install/boottime-install.tex
+++ b/labs/boottime-install/boottime-install.tex
@@ -139,7 +139,7 @@ Type the below commands:
cd /opt
sudo chown -R $USER.$USER .
wget http://free-electrons.com/labs/labs.tar.xz
-sudo tar Jxf labs.tar.xz
+sudo tar xf labs.tar.xz
sudo chown -R $USER.$USER .
\end{verbatim}
diff --git a/labs/boottime-kernel/boottime-kernel.tex b/labs/boottime-kernel/boottime-kernel.tex
index 094b045..6a20a52 100644
--- a/labs/boottime-kernel/boottime-kernel.tex
+++ b/labs/boottime-kernel/boottime-kernel.tex
@@ -17,7 +17,7 @@ Plug-in your USB disk and type the below commands:
\begin{verbatim}
cd /opt/felabs/boottime/kernel
cp /media/BootTime/downloads/linux-3.6.9-at91.tar.xz .
-tar Jxf linux-3.6.9-at91.tar.xz
+tar xf linux-3.6.9-at91.tar.xz
source env.sh
cd linux-3.6.9-at91
make sama5d3_defconfig
diff --git a/labs/boottime-measuring/boottime-measuring.tex b/labs/boottime-measuring/boottime-measuring.tex
index e345cca..12fb7b4 100644
--- a/labs/boottime-measuring/boottime-measuring.tex
+++ b/labs/boottime-measuring/boottime-measuring.tex
@@ -186,7 +186,7 @@ won't work):
\begin{verbatim}
cd /opt/felabs/boottime/buildroot/
-tar Jxf /media/BootTime/precompiled/buildroot-at91-`arch`.tar.xz
+tar xf /media/BootTime/precompiled/buildroot-at91-`arch`.tar.xz
\end{verbatim}
You can see that the above command automatically picks up the right
diff --git a/labs/kernel-sources-download/kernel-sources-download.tex b/labs/kernel-sources-download/kernel-sources-download.tex
index aa604a1..038e93c 100644
--- a/labs/kernel-sources-download/kernel-sources-download.tex
+++ b/labs/kernel-sources-download/kernel-sources-download.tex
@@ -64,7 +64,7 @@ You will just have to extract this archive in the current directory,
and then pull the most recent changes over the network:
\begin{verbatim}
-tar Jxf linux-git.tar.xz
+tar xf linux-git.tar.xz
cd linux
git pull
\end{verbatim}
diff --git a/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex b/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
index cfd1993..a78e71b 100644
--- a/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
+++ b/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
@@ -88,7 +88,7 @@
\normalsize
\item Extract command:\\
\footnotesize
- \code{tar Jxf linux-3.10.9.tar.xz}
+ \code{tar xf linux-3.10.9.tar.xz}
\normalsize
\end{itemize}
\item {\bf Incremental patches between versions}
More information about the training-materials-updates
mailing list