[bootlin/training-materials updates] master: Kernel building: highlight when root permissions are needed (5023d2bc)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Sep 27 12:17:30 CEST 2021


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

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

commit 5023d2bcfb9221fb81f790033645e6e55ad1642a
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Sep 27 12:17:30 2021 +0200

    Kernel building: highlight when root permissions are needed
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

5023d2bcfb9221fb81f790033645e6e55ad1642a
 slides/sysdev-kernel-building/sysdev-kernel-building.tex | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/slides/sysdev-kernel-building/sysdev-kernel-building.tex b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
index ec85701a..21482268 100644
--- a/slides/sysdev-kernel-building/sysdev-kernel-building.tex
+++ b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
@@ -435,10 +435,9 @@ CONFIG_NTFS_RW=y
 \begin{frame}
   \frametitle{Kernel installation: native case}
   \begin{itemize}
-  \item \code{make install}
+  \item \code{sudo make install}
     \begin{itemize}
-    \item Does the installation for the host system by default, so
-      needs to be run as root.
+    \item Does the installation for the host system by default
     \end{itemize}
   \item Installs
     \begin{itemize}
@@ -473,7 +472,7 @@ CONFIG_NTFS_RW=y
 \begin{frame}
   \frametitle{Module installation: native case}
   \begin{itemize}
-  \item \code{make modules_install}
+  \item \code{sudo make modules_install}
     \begin{itemize}
     \item Does the installation for the host system by default, so
       needs to be run as root
@@ -503,7 +502,8 @@ CONFIG_NTFS_RW=y
     in \code{/lib/modules} on the host!
   \item The \code{INSTALL_MOD_PATH} variable is needed to generate
     the module related files and install the modules in the target
-    root filesystem instead of your host root filesystem:\\
+    root filesystem instead of your host root filesystem (no need
+    to be root):\\
     \code{make INSTALL_MOD_PATH=<dir>/ modules_install}
   \end{itemize}
 \end{frame}




More information about the training-materials-updates mailing list