[bootlin/training-materials updates] master: sysdev: Drop the expandafter macro (6ab104da)

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 2 10:54:21 CEST 2022


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

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

commit 6ab104da46359dee9880def44e22d69677a4f10c
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Mon May 30 16:56:40 2022 +0200

    sysdev: Drop the expandafter macro
    
    The Android training no longer exists anyway.
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


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

6ab104da46359dee9880def44e22d69677a4f10c
 slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex     | 2 +-
 .../sysdev-root-filesystem-principles.tex                              | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex b/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
index b2f29da0..a1343b59 100644
--- a/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
+++ b/slides/sysdev-linux-intro-features/sysdev-linux-intro-features.tex
@@ -132,7 +132,7 @@
   \end{center}
 \end{frame}
 
-\expandafter\ifstrequal\expandafter{\training}{kernel}{}
+\expandafter\ifstrequal\expandafter{\training}{linux-kernel}{}
 {
 \begin{frame}
   \frametitle{Linux license}
diff --git a/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex b/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex
index cf2c0c4d..5c28733f 100644
--- a/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex
+++ b/slides/sysdev-root-filesystem-principles/sysdev-root-filesystem-principles.tex
@@ -138,8 +138,6 @@ Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)
   \end{itemize}
 \end{frame}
 
-\expandafter\ifstrequal\expandafter{\training}{android}{}
-{
 \begin{frame}
   \frametitle{Mounting rootfs over the network (1)}
 
@@ -210,4 +208,3 @@ Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)
     \includegraphics[width=0.9\textwidth]{slides/sysdev-root-filesystem-principles/nfs-principle-with-details.pdf}
   \end{center}
 \end{frame}
-}




More information about the training-materials-updates mailing list