[bootlin/training-materials updates] master: Embedded Linux: "-p" means "prune" (d9da3cba)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:40 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/d9da3cba37ab96a9f7e6b85c4f7874791fcdef2d
>---------------------------------------------------------------
commit d9da3cba37ab96a9f7e6b85c4f7874791fcdef2d
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Mon Jul 19 20:04:23 2021 +0200
Embedded Linux: "-p" means "prune"
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
d9da3cba37ab96a9f7e6b85c4f7874791fcdef2d
.../sysdev-linux-tarballs-and-patches.tex | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/slides/sysdev-linux-tarballs-and-patches/sysdev-linux-tarballs-and-patches.tex b/slides/sysdev-linux-tarballs-and-patches/sysdev-linux-tarballs-and-patches.tex
index 5de5f94c..50550101 100644
--- a/slides/sysdev-linux-tarballs-and-patches/sysdev-linux-tarballs-and-patches.tex
+++ b/slides/sysdev-linux-tarballs-and-patches/sysdev-linux-tarballs-and-patches.tex
@@ -118,7 +118,8 @@ diff -Nru a/Makefile b/Makefile
\item \code{zcat diff_file.gz | patch -p<n>}
\item Notes:
\begin{itemize}
- \item \code{n}: number of directory levels to skip in the file paths
+ \item \code{n}: number of directory levels to skip (\code{-p}: {\em
+ prune}) in the file paths
\item You can reverse apply a patch with the \code{-R} option
\item You can test a patch with \code{--dry-run} option
\end{itemize}
More information about the training-materials-updates
mailing list