[FE training-materials-updates] buildroot-rootfs: misc improvements

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue May 5 16:05:50 CEST 2015


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=e8295f40323f0ba63059f6f9baded31bb3cd176a

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

commit e8295f40323f0ba63059f6f9baded31bb3cd176a
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Tue May 5 15:22:44 2015 +0200

    buildroot-rootfs: misc improvements
    
    Suggested-by: Gustavo Zacarias <gustavo.zacarias at free-electrons.com>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


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

e8295f40323f0ba63059f6f9baded31bb3cd176a
 slides/buildroot-rootfs/buildroot-rootfs.tex | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/slides/buildroot-rootfs/buildroot-rootfs.tex b/slides/buildroot-rootfs/buildroot-rootfs.tex
index 6464182..6cd2cb6 100644
--- a/slides/buildroot-rootfs/buildroot-rootfs.tex
+++ b/slides/buildroot-rootfs/buildroot-rootfs.tex
@@ -93,12 +93,13 @@ board/myproject/rootfs-overlay/etc/init.d/S99myapp
 
 \begin{frame}{Post-build scripts}
   \begin{itemize}
-  \item Sometimes a {\em root filesystem overlay} is not sufficient,
-    and you actually want to {\bf execute commands}, you can use {\bf
-      post-build scripts}.
-  \item These scripts are executed before the root filesystem image is
-    created. They can be written in any language, shell scripts are
-    often used.
+  \item Sometimes a {\em root filesystem overlay} is not sufficient:
+    you can use {\bf post-build scripts}.
+  \item Can be used to {\bf customize existing files}, {\bf remove
+      unneeded files} to save space, add {\bf new files that are
+      generated dynamically} (build date, etc.)
+  \item Executed before the root filesystem image is created. Can be
+    written in any language, shell scripts are often used.
   \item \code{BR2_ROOTFS_POST_BUILD_SCRIPT} contains a space-separated
     list of post-build script paths.
   \item \code{$(TARGET_DIR)} path passed as first argument, additional
@@ -313,7 +314,7 @@ test         8000  wheel   -1    =          -         /bin/sh -           Test u
       or screen
     \item {\bf hostname} and {\bf banner} options
     \item {\bf DHCP network} on one interface (for more complex
-      setups, use an {\em overlay}
+      setups, use an {\em overlay})
     \item {\bf root password}
     \item {\bf timezone} installation and selection
     \end{itemize}



More information about the training-materials-updates mailing list