[bootlin/training-materials updates] master: labs/yocto-advanced-configuration: more explicit instructions (8cb57355)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Oct 3 18:36:30 CEST 2023


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

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

commit 8cb573551e1246ce317c7ce5e859c198bda6e1ed
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Oct 3 18:36:30 2023 +0200

    labs/yocto-advanced-configuration: more explicit instructions
    
    In particular to avoid having people adding unwanted spaces
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

8cb573551e1246ce317c7ce5e859c198bda6e1ed
 .../yocto-advanced-configuration-stm32.tex                       | 7 +++++--
 .../yocto-advanced-configuration.tex                             | 9 ++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/labs/yocto-advanced-configuration-stm32/yocto-advanced-configuration-stm32.tex b/labs/yocto-advanced-configuration-stm32/yocto-advanced-configuration-stm32.tex
index 7c625f19..4d4e19c0 100644
--- a/labs/yocto-advanced-configuration-stm32/yocto-advanced-configuration-stm32.tex
+++ b/labs/yocto-advanced-configuration-stm32/yocto-advanced-configuration-stm32.tex
@@ -70,8 +70,11 @@ sudo mkdir -m 777 /nfs
 \end{verbatim}
 
 Then make sure this directory is used and exported by the NFS server by adding
-\code{/nfs *(rw,sync,no_root_squash,subtree_check)} to the
-\code{/etc/exports} file.
+the below line to the \code{/etc/exports} file:
+
+\begin{verbatim}
+/nfs *(rw,sync,no_root_squash,subtree_check)
+\end{verbatim}
 
 Finally, make the NFS server use the new configuration:
 \begin{verbatim}
diff --git a/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex b/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex
index ab09778c..a9c66ee0 100644
--- a/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex
+++ b/labs/yocto-advanced-configuration/yocto-advanced-configuration.tex
@@ -58,10 +58,13 @@ sudo mkdir -m 777 /nfs
 \end{verbatim}
 
 Then make sure this directory is used and exported by the NFS server by adding
-\code{/nfs *(rw,sync,no_root_squash,subtree_check)} to the
-\code{/etc/exports} file.
+the below line to the \code{/etc/exports} file:
 
-Finally update the NFS server:
+\begin{verbatim}
+/nfs *(rw,sync,no_root_squash,subtree_check)
+\end{verbatim}
+
+Finally, make the NFS server use the new configuration:
 \begin{verbatim}
 sudo exportfs -r
 \end{verbatim}




More information about the training-materials-updates mailing list