[bootlin/training-materials updates] master: sysdev: slides: fix order of default init search paths (155b139a)
Luca Ceresoli
luca.ceresoli at bootlin.com
Fri Oct 7 10:08:04 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/155b139aa061a33fc605d430a4bd79af7c54cabd
>---------------------------------------------------------------
commit 155b139aa061a33fc605d430a4bd79af7c54cabd
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Fri Oct 7 10:05:28 2022 +0200
sysdev: slides: fix order of default init search paths
Use the actual order that the kernel searches.
Spotted by Thomas during his training.
Reported-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
155b139aa061a33fc605d430a4bd79af7c54cabd
.../sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex b/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex
index e9944fe5..ed27fbce 100644
--- a/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex
+++ b/slides/sysdev-root-filesystem-minimal/sysdev-root-filesystem-minimal.tex
@@ -11,8 +11,8 @@
\begin{itemize}
\item The kernel tries to run the command specified by the
\code{init=} command line parameter if available.
- \item Otherwise, it tries to run \code{/sbin/init}, \code{/bin/init},
- \code{/etc/init} and \code{/bin/sh}.
+ \item Otherwise, it tries to run \code{/sbin/init}, \code{/etc/init},
+ \code{/bin/init} and \code{/bin/sh}.
\item In the case of an initramfs, it will only look for
\code{/init}. Another path can be supplied by the \code{rdinit=}
kernel argument.
More information about the training-materials-updates
mailing list