[bootlin/training-materials updates] master: Kernel labs: use make kernelversion (2468c9f2)

Clément Léger clement.leger at bootlin.com
Tue Dec 14 14:25:12 CET 2021


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

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

commit 2468c9f2505d72dfca3e75657baebc0182cd4024
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Tue Dec 14 14:22:42 2021 +0100

    Kernel labs: use make kernelversion
    
    Use make kernelversion to check kernel version (But also mention that
    this information is visible in the Makefile).
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

2468c9f2505d72dfca3e75657baebc0182cd4024
 labs/kernel-sources-exploring/kernel-sources-exploring.tex | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/labs/kernel-sources-exploring/kernel-sources-exploring.tex b/labs/kernel-sources-exploring/kernel-sources-exploring.tex
index f748501f..54dc2220 100644
--- a/labs/kernel-sources-exploring/kernel-sources-exploring.tex
+++ b/labs/kernel-sources-exploring/kernel-sources-exploring.tex
@@ -29,15 +29,23 @@ git branch -a
 As we will do our labs with the Linux 5.10 stable branch, the remote branch
 we are interested in is \code{remotes/stable/linux-5.10.y}.
 
-First, open the \code{Makefile} file just to check the Linux kernel
-version that you currently have.
+First, execute the following command to check which version you
+currently have:
+
+\begin{verbatim}
+make kernelversion
+\end{verbatim}
+
+You can also open the \code{Makefile} and look at the beginning of it
+to check this information.
 
 Now, let's create a local branch starting from that remote branch:
 \begin{verbatim}
 git checkout -b 5.10.bootlin stable/linux-5.10.y
 \end{verbatim}
 
-Open \code{Makefile} again and make sure you now have a 5.10.y version.
+Check the version again using the \code{make kernelversion} command
+to make sure you now have a 5.10.y version.
 
 \section{Exploring the sources manually}
 




More information about the training-materials-updates mailing list