[bootlin/training-materials updates] master: agenda: factorize definition of required equipment for on-site sessions (9728b866)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Sep 24 11:34:33 CEST 2021


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

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

commit 9728b8663f94b35a04c870d9f29884b4962f397d
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Fri Sep 24 11:34:33 2021 +0200

    agenda: factorize definition of required equipment for on-site sessions
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


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

9728b8663f94b35a04c870d9f29884b4962f397d
 agenda/autotools-agenda.tex         | 21 +-------------
 agenda/boot-time-agenda.tex         | 20 +-------------
 agenda/buildroot-agenda.tex         | 21 +-------------
 agenda/buildroot-fr-agenda.tex      | 22 +--------------
 agenda/embedded-linux-4d-agenda.tex | 20 +-------------
 agenda/embedded-linux-agenda.tex    | 20 +-------------
 agenda/embedded-linux-fr-agenda.tex | 22 +--------------
 agenda/git-agenda.tex               | 19 +------------
 agenda/graphics-agenda.tex          |  3 +-
 agenda/graphics-fr-agenda.tex       |  2 ++
 agenda/linux-kernel-agenda.tex      | 20 +-------------
 agenda/linux-kernel-fr-agenda.tex   | 22 +--------------
 agenda/yocto-agenda.tex             | 22 +--------------
 agenda/yocto-fr-agenda.tex          | 23 +---------------
 common/agenda.sty                   | 55 +++++++++++++++++++++++++++++++++++++
 15 files changed, 70 insertions(+), 242 deletions(-)

diff --git a/agenda/autotools-agenda.tex b/agenda/autotools-agenda.tex
index ca33999b..aaddd8b4 100644
--- a/agenda/autotools-agenda.tex
+++ b/agenda/autotools-agenda.tex
@@ -52,26 +52,7 @@
   trained by themselves, for example with our freely available on-line slides:
   \newline \url{https://bootlin.com/blog/command-line/}
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only.}
-  \newline Everything is supplied by Bootlin in public
-  sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, and Ubuntu Linux
-    installed in a {\bf free partition of at least 20 GB. Using Linux
-      in a virtual machine is not supported}, because of issues
-    connecting to real hardware.
-  \item We need Ubuntu Desktop 18.04 (Xubuntu and other variants
-    are fine). We don't support other distributions, because we can't
-    test all possible package versions.
-  \item {\bf Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and
   labs.
diff --git a/agenda/boot-time-agenda.tex b/agenda/boot-time-agenda.tex
index 577a8010..440656c2 100644
--- a/agenda/boot-time-agenda.tex
+++ b/agenda/boot-time-agenda.tex
@@ -58,25 +58,7 @@
   \newline {\bf Knowledge and practice of embedded Linux system
     development}
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only.}
-  \newline Everything is supplied by Bootlin in public sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, and Ubuntu Linux
-    installed in a {\bf free partition of at least 30 GB. Using Linux
-      in a virtual machine is not supported}, because of issues
-    connecting to real hardware.
-  \item We need Ubuntu Desktop 20.04 (Xubuntu and other
-    variants are fine). We don't support other
-    distributions, because we can't test all possible package versions.
-  \item {\bf Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and labs.
   \newline Electronic copy of lab files.
diff --git a/agenda/buildroot-agenda.tex b/agenda/buildroot-agenda.tex
index 80291523..52f1e8c2 100644
--- a/agenda/buildroot-agenda.tex
+++ b/agenda/buildroot-agenda.tex
@@ -68,26 +68,7 @@
   on-line slides:
   \newline \url{https://bootlin.com/blog/command-line/}
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only.}
-  \newline Everything is supplied by Bootlin in public
-  sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, and Ubuntu Linux
-    installed in a {\bf free partition of at least 30 GB. Using Linux
-      in a virtual machine is not supported}, because of issues
-    connecting to real hardware.
-  \item We need Ubuntu Desktop 18.04 (Xubuntu and other
-    variants are fine). We don't support other
-    distributions, because we can't test all possible package versions.
-  \item {\bf Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and
   labs.
diff --git a/agenda/buildroot-fr-agenda.tex b/agenda/buildroot-fr-agenda.tex
index ec24a47e..6497af86 100644
--- a/agenda/buildroot-fr-agenda.tex
+++ b/agenda/buildroot-fr-agenda.tex
@@ -72,27 +72,7 @@
   disponibles en ligne :
   \newline (\url{https://bootlin.com/blog/command-line/})
 }
-\feagendasummaryitem{Équipement nécessaire}{
-  {\bf Pour les sessions sur site uniquement}
-  \newline Le matériel est fourni par Bootlin durant les
-  sessions inter-entreprises
-  \begin{itemize}
-  \item Projecteur vidéo
-  \item Un ordinateur sur chaque bureau (pour une ou deux personnes), avec au
-    moins 8 Go de RAM, et Ubuntu Linux installé dans une {\bf partition
-      dédiée d'au moins 30 Go. L'utilisation de Linux dans une machine virtuelle
-      n'est pas supportée}, en raison de problèmes avec la connexion au matériel.
-  \item Nous avons besoin d'Ubuntu Desktop 18.04 (Xubuntu et autres
-    variantes fonctionnent également). Nous ne supportons pas d'autres
-    distributions, car nous ne pouvons tester toutes les versions des
-    paquets.
-  \item {\bf Connexion à Internet} (directe ou par le proxy de l'entreprise).
-  \item {\bf Les ordinateurs contenant des données importantes doivent être
-      sauvegardés} avant d'être utilisés dans nos sessions. Certains
-    participants ont déjà commis des erreurs lors de travaux pratiques
-    avec pour conséquence des pertes de données.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Supports}{
   Copie électronique des présentations et travaux pratiques.
   \newline Version électronique des données pour les travaux
diff --git a/agenda/embedded-linux-4d-agenda.tex b/agenda/embedded-linux-4d-agenda.tex
index 9eac0925..5f59d867 100644
--- a/agenda/embedded-linux-4d-agenda.tex
+++ b/agenda/embedded-linux-4d-agenda.tex
@@ -78,25 +78,7 @@
   Practical labs using a Microchip SAMA5D3 Xplained board
   \url{https://bootlin.com/doc/training/embedded-linux/embedded-linux-agenda.pdf}.
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only}
-  \newline Everything is supplied by Bootlin in public sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, and Ubuntu Linux
-    installed in a {\bf free partition of at least 30 GB. Using Linux
-      in a virtual machine is not supported}, because of issues
-    connecting to real hardware.
-  \item We need Ubuntu Desktop 20.04 (Xubuntu and
-    other variants are fine). We don't support other
-    distributions, because we can't test all possible package versions.
-  \item {\bf Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and
   labs.
diff --git a/agenda/embedded-linux-agenda.tex b/agenda/embedded-linux-agenda.tex
index 5206bc3c..1f01c808 100644
--- a/agenda/embedded-linux-agenda.tex
+++ b/agenda/embedded-linux-agenda.tex
@@ -80,25 +80,7 @@
   Practical labs using an STMicroelectronics STM32MP157D-DK1 Discovery board
   \url{https://bootlin.com/doc/training/embedded-linux-4d/embedded-linux-4d-agenda.pdf}.
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only}
-  \newline Everything is supplied by Bootlin in public sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, and Ubuntu Linux
-    installed in a {\bf free partition of at least 30 GB. Using Linux
-      in a virtual machine is not supported}, because of issues
-    connecting to real hardware.
-  \item We need Ubuntu Desktop 20.04 (Xubuntu and
-    other variants are fine). We don't support other
-    distributions, because we can't test all possible package versions.
-  \item {\bf Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and labs.
   \newline Electronic copy of lab files.
diff --git a/agenda/embedded-linux-fr-agenda.tex b/agenda/embedded-linux-fr-agenda.tex
index a70bb47a..77573615 100644
--- a/agenda/embedded-linux-fr-agenda.tex
+++ b/agenda/embedded-linux-fr-agenda.tex
@@ -84,27 +84,7 @@
   \end{itemize}
   \url{https://bootlin.com/doc/training/embedded-linux/embedded-linux-4d-agenda-fr.pdf}.
 }
-\feagendasummaryitem{Équipement nécessaire}{
-  {\bf Pour les sessions sur site uniquement}
-  \newline Le matériel est fourni par Bootlin durant les
-  sessions inter-entreprises
-  \begin{itemize}
-  \item Projecteur vidéo
-  \item Un ordinateur sur chaque bureau (pour une ou deux personnes), avec au
-    moins 8 Go de RAM et Ubuntu Linux installé dans une {\bf partition
-      dédiée d'au moins 30 Go. L'utilisation de Linux dans une machine virtuelle
-      n'est pas supportée}, en raison de problèmes avec la connexion au matériel.
-  \item Nous avons besoin d'Ubuntu Desktop 20.04 (Xubuntu et autres
-    variantes fonctionnent également). Nous ne supportons pas d'autres
-    distributions, car nous ne pouvons tester toutes les versions des
-    paquets.
-  \item {\bf Connexion à Internet} (directe ou par le proxy de l'entreprise).
-  \item {\bf Les ordinateurs contenant des données importantes doivent être
-      sauvegardés} avant d'être utilisés dans nos sessions. Certains
-    participants ont déjà commis des erreurs lors de travaux pratiques
-    avec pour conséquence des pertes de données.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Supports}{
   Copie électronique des présentations et travaux pratiques.
   \newline Version électronique des données pour les travaux
diff --git a/agenda/git-agenda.tex b/agenda/git-agenda.tex
index cfcd9e49..9683d0d2 100644
--- a/agenda/git-agenda.tex
+++ b/agenda/git-agenda.tex
@@ -40,24 +40,7 @@
 \feagendasummaryitem{Prerequisites}{
   None
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only.}
-  \newline Everything is supplied by Bootlin in public
-  sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, and Ubuntu Linux
-    installed in a {\bf free partition of at least 20 GB}.
-  \item We need Ubuntu Desktop 18.04 (Xubuntu and
-    other variants are fine). We don't support other
-    distributions, because we can't test all possible package versions.
-  \item {\bf Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and labs.
   \newline Electronic copy of lab files.
diff --git a/agenda/graphics-agenda.tex b/agenda/graphics-agenda.tex
index 9b1bfedc..1650f310 100644
--- a/agenda/graphics-agenda.tex
+++ b/agenda/graphics-agenda.tex
@@ -57,8 +57,7 @@
     (e.g. clocks, busses).}
 }
 \feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only}
-  \newline Everything is supplied by Bootlin in public sessions.
+  {\bf For on-site sessions at our customer location, the customer must provide}:
   \begin{itemize}
   \item Video projector
   \item Large monitor
diff --git a/agenda/graphics-fr-agenda.tex b/agenda/graphics-fr-agenda.tex
index 6b8085ba..74e7a395 100644
--- a/agenda/graphics-fr-agenda.tex
+++ b/agenda/graphics-fr-agenda.tex
@@ -60,6 +60,8 @@
     horloges...)}
 }
 \feagendasummaryitem{Équipement nécessaire}{
+  {\bf Pour les sessions en présentiel dans les locaux de nos clients,
+    notre client doit fournir}:
   \begin{itemize}
   \item Projecteur vidéo
   \item Un grand moniteur
diff --git a/agenda/linux-kernel-agenda.tex b/agenda/linux-kernel-agenda.tex
index 831124e7..06c0a8f2 100644
--- a/agenda/linux-kernel-agenda.tex
+++ b/agenda/linux-kernel-agenda.tex
@@ -75,25 +75,7 @@
     {\em Common European Framework of References for Languages}.
   \end{itemize}
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only}
-  \newline Everything is supplied by Bootlin in public sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, and Ubuntu Linux
-    installed in a {\bf free partition of at least 20 GB. Using Linux
-      in a virtual machine is not supported}, because of issues
-    connecting to real hardware.
-  \item We need Ubuntu Desktop 20.04 (Xubuntu and
-    other variants are fine). We don't support other
-    distributions, because we can't test all possible package versions.
-  \item {\bf Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and
   labs.
diff --git a/agenda/linux-kernel-fr-agenda.tex b/agenda/linux-kernel-fr-agenda.tex
index 31b39691..ebda79f2 100644
--- a/agenda/linux-kernel-fr-agenda.tex
+++ b/agenda/linux-kernel-fr-agenda.tex
@@ -80,27 +80,7 @@
       Framework of References for Languages}.
   \end{itemize}
 }
-\feagendasummaryitem{Équipement nécessaire}{
-  {\bf Pour les sessions sur site uniquement}
-  \newline Le matériel est fourni par Bootlin durant les
-  sessions inter-entreprises
-  \begin{itemize}
-  \item Projecteur vidéo
-  \item Un ordinateur sur chaque bureau (pour une ou deux personnes), avec au
-    moins 8 Go de RAM et Ubuntu Linux installé dans une {\bf partition
-      dédiée d'au moins 20 Go. L'utilisation de Linux dans une machine virtuelle
-      n'est pas supportée}, en raison de problèmes avec la connexion au matériel.
-  \item Nous avons besoin d'Ubuntu Desktop 20.04 (Xubuntu et autres
-    variantes fonctionnent également). Nous ne supportons pas d'autres
-    distributions, car nous ne pouvons tester toutes les versions des
-    paquets.
-  \item {\bf Connexion à Internet} (directe ou par le proxy de l'entreprise).
-  \item {\bf Les ordinateurs contenant des données importantes doivent être
-      sauvegardés} avant d'être utilisés dans nos sessions. Certains
-    participants ont déjà commis des erreurs lors de travaux pratiques
-    avec pour conséquence des pertes de données.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Supports}{
   Version électronique des présentations et travaux pratiques.
   \newline Version électronique des données pour les travaux
diff --git a/agenda/yocto-agenda.tex b/agenda/yocto-agenda.tex
index 53d2d75e..70c28148 100644
--- a/agenda/yocto-agenda.tex
+++ b/agenda/yocto-agenda.tex
@@ -61,27 +61,7 @@
   on-line slides:
   \url{https://bootlin.com/blog/command-line/}
 }
-\feagendasummaryitem{Required equipment}{
-  {\bf For on-site sessions only.}
-  \newline Everything is supplied by Bootlin in public
-  sessions.
-  \begin{itemize}
-  \item Video projector
-  \item PC computers with at least 8 GB of RAM, a CPU at least
-    equivalent to an Intel Core i5 and Ubuntu Linux
-    installed in a {\bf free partition of at least 50 GB. Using Linux
-      in a virtual machine is not supported}, because of issues
-    connecting to real hardware.
-  \item We need Ubuntu Desktop 20.04 (Xubuntu and
-    other variants are fine). We don't support other
-    distributions, because we can't test all possible package versions.
-  \item {\bf High Speed Connection to the Internet} (direct or through the
-    company proxy).
-  \item {\bf PC computers with valuable data must be backed up}
-    before being used in our sessions.  Some people have already made
-    mistakes during our sessions and damaged work data.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Materials}{
   Electronic copies of presentations and
   labs.
diff --git a/agenda/yocto-fr-agenda.tex b/agenda/yocto-fr-agenda.tex
index 56487fa0..6f953d8d 100644
--- a/agenda/yocto-fr-agenda.tex
+++ b/agenda/yocto-fr-agenda.tex
@@ -63,28 +63,7 @@
   disponibles en ligne :
   (\url{https://bootlin.com/blog/command-line/}
 }
-\feagendasummaryitem{Équipement nécessaire}{
-  {\bf Pour les sessions sur site uniquement}
-  \newline Le matériel est fourni par Bootlin durant les
-  sessions inter-entreprises
-  \begin{itemize}
-  \item Projecteur vidéo
-  \item Un ordinateur sur chaque bureau (pour une ou deux personnes), avec au
-    moins 8 Go de RAM, un processeur au moins équivalent à un Intel Core i5,
-    et Ubuntu Linux installé dans une {\bf partition
-      dédiée d'au moins 50 Go. L'utilisation de Linux dans une machine virtuelle
-      n'est pas supportée}, en raison de problèmes avec la connexion au matériel.
-  \item Nous avons besoin d'Ubuntu Desktop 20.04 (Xubuntu et autres
-    variantes fonctionnent également). Nous ne supportons pas d'autres
-    distributions, car nous ne pouvons tester toutes les versions des
-    paquets.
-  \item {\bf Connexion à Internet} (directe ou par le proxy de l'entreprise).
-  \item {\bf Les ordinateurs contenant des données importantes doivent être
-      sauvegardés} avant d'être utilisés dans nos sessions. Certains
-    participants ont déjà commis des erreurs lors de travaux pratiques
-    avec pour conséquence des pertes de données.
-  \end{itemize}
-}
+\ferequiredequipmentonsite{}
 \feagendasummaryitem{Supports}{
   Copie électronique des présentations et travaux pratiques.
   \newline Version électronique des données pour les travaux
diff --git a/common/agenda.sty b/common/agenda.sty
index 528796a5..e51d1897 100644
--- a/common/agenda.sty
+++ b/common/agenda.sty
@@ -18,6 +18,7 @@
 \usepackage{overpic}
 \usepackage{colortbl}
 \usepackage{calc}
+\usepackage{ifthen}
 
 % A nicer font
 \usepackage{fontspec}
@@ -127,3 +128,57 @@
   \end{center}
   \vspace{1cm}
 }
+
+\newcommand\ferequiredequipmentonsite{
+  \ifthenelse{\equal{\agendalanguage}{french}}{
+    \feagendasummaryitem{Équipement \newline nécessaire}{
+      {\bf Pour les sessions en présentiel dans les locaux de nos clients,
+        notre client doit fournir}:
+      \begin{itemize}
+      \item Projecteur vidéo
+        \ifthenelse{\equal{\training}{yocto}}{
+          \item Un ordinateur sur chaque bureau (pour une ou deux
+            personnes), avec au moins un processeur Intel Core i5, 8
+            Go de RAM et Ubuntu Linux 20.04 installé dans une {\bf
+              partition dédiée d'au moins 50 Go}.
+          }{
+          \item Un ordinateur sur chaque bureau (pour une ou deux personnes), avec au
+            moins 8 Go de RAM et Ubuntu Linux 20.04 installé dans une {\bf partition
+              dédiée d'au moins 30 Go}.
+          }
+      \item Les distributions autres que Ubuntu Linux 20.04 ne sont
+        pas supportées, et l'utilisation de Linux dans une machine
+        virtuelle n'est également pas supportée.
+      \item {\bf Connexion à Internet rapide et sans filtrage}: au
+        moins 50 Mbit/s de bande passante en téléchargement, et pas de
+        filtrage des sites Web et protocoles.
+      \item {\bf Les ordinateurs contenant des données importantes doivent être
+          sauvegardés} avant d'être utilisés dans nos sessions.
+      \end{itemize}
+    }
+  }{
+    \feagendasummaryitem{Required equipment}{
+      {\bf For on-site sessions at our customer location, the customer must provide}:
+      \begin{itemize}
+      \item Video projector
+        \ifthenelse{\equal{\training}{yocto}}{
+          \item One PC computer on each desk (for one or two persons)
+            with at least an Intel Core i5 processor, 8 GB of RAM, and
+            Ubuntu Linux 20.04 installed in a {\bf free partition of
+              at least 50 GB}
+          }{
+          \item One PC computer on each desk (for one or two persons) with
+            at least 8 GB of RAM, and Ubuntu Linux 20.04 installed in a
+            {\bf free partition of at least 30 GB}
+          }
+      \item Distributions others than Ubuntu Linux 20.04 are not
+        supported, and using Linux in a virtual machine is not supported.
+      \item {\bf Unfiltered and fast connection to Internet}: at least 50
+        Mbit/s of download bandwidth, and no filtering of web sites or
+        protocols.
+      \item {\bf PC computers with valuable data must be backed up}
+        before being used in our sessions.
+      \end{itemize}
+    }
+  }
+}
\ No newline at end of file




More information about the training-materials-updates mailing list