[bootlin/training-materials updates] master: Embedded Linux: "-p" means "prune" (bbba5371)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Jul 19 20:04:23 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/bbba537130b051bc747a373d06feff77e5a9e716

>---------------------------------------------------------------

commit bbba537130b051bc747a373d06feff77e5a9e716
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>


>---------------------------------------------------------------

bbba537130b051bc747a373d06feff77e5a9e716
 .../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