[bootlin/training-materials updates] master: Boot time: libraries update (9807c2fe)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Aug 28 14:51:00 CEST 2019


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

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

commit 9807c2fe4a48935240e23bd11cf47750c02c4287
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Aug 28 14:51:00 2019 +0200

    Boot time: libraries update
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

9807c2fe4a48935240e23bd11cf47750c02c4287
 slides/boot-time-init-scripts/boot-time-init-scripts.tex   | 4 ++--
 slides/boot-time-init-scripts3/boot-time-init-scripts3.tex | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/slides/boot-time-init-scripts/boot-time-init-scripts.tex b/slides/boot-time-init-scripts/boot-time-init-scripts.tex
index 162ae977..7d69fd65 100644
--- a/slides/boot-time-init-scripts/boot-time-init-scripts.tex
+++ b/slides/boot-time-init-scripts/boot-time-init-scripts.tex
@@ -177,7 +177,7 @@ system (200 MHz)!
 
 \begin{frame}
 \frametitle{Reduce size (2)}
-You may try \code{mklibs}, available at \url{http://packages.debian.org/sid/mklibs}.
+You may try \code{mklibs}, available at \url{https://packages.debian.org/sid/mklibs}.
 \begin{itemize}
 	\item \code{mklibs} produces cut-down shared libraries that contain
 	only the routines required by a particular set of executables.
@@ -194,7 +194,7 @@ You may try \code{mklibs}, available at \url{http://packages.debian.org/sid/mkli
 Often the first sign of life that you are showing!
 \begin{itemize}
 \item You could use the \code{fbv} program
-      (\url{http://freecode.com/projects/fbv})\\
+      (\url{http://freshmeat.sourceforge.net/projects/fbv})\\
       to display your splashscreen.
 \item On \code{armel}, you can just use our statically compiled
       binary:\\
diff --git a/slides/boot-time-init-scripts3/boot-time-init-scripts3.tex b/slides/boot-time-init-scripts3/boot-time-init-scripts3.tex
index db046bce..032e49ac 100644
--- a/slides/boot-time-init-scripts3/boot-time-init-scripts3.tex
+++ b/slides/boot-time-init-scripts3/boot-time-init-scripts3.tex
@@ -19,8 +19,8 @@ application and then switch to the final root filesystem with
 \begin{itemize}
 \item Statically linked executables are very useful to reduce size
       (especially in small initramfs), and require less work to start.
-\item However, the LGPL license in libraries (uClibc, glibc), require
-      to leave the user the ability to relink the executable
+\item However, the LGPL license in the uClibc and glibc libraries
+      require to leave the user the ability to relink the executable
       with a modified version of the library.
 \item Solution to keep static binaries:
       \begin{itemize}
@@ -31,6 +31,8 @@ application and then switch to the final root filesystem with
       \item Or also provide a dynamically linked version of the
 	    executable (in a separate way), allowing to use another
             library version.
+      \item Easiest solution: build your static executables with the
+	    \code{musl} library (MIT license: no trouble)
       \end{itemize}
 \item References: \\
       {\footnotesize




More information about the training-materials-updates mailing list