[bootlin/training-materials updates] master: sysdev: labs: fix command to strip C library and loader (78a95698)

Luca Ceresoli luca.ceresoli at bootlin.com
Thu Dec 15 10:49:46 CET 2022


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

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

commit 78a95698ec377292af40783e525395c23ba55010
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Thu Dec 15 10:30:40 2022 +0100

    sysdev: labs: fix command to strip C library and loader
    
    The files to strip end with '.so.0'.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

78a95698ec377292af40783e525395c23ba55010
 labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex     | 4 ++--
 labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex b/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex
index 7743a6de..a7e18eca 100644
--- a/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex
+++ b/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex
@@ -809,8 +809,8 @@ First, check the initial size of the binaries:
 
 Then strip the binaries in \code{/lib}:
 \begin{bashinput}
-$ chmod +w target/lib/*.so
-$ arm-linux-strip target/lib/*.so
+$ chmod +w target/lib/*.so.*
+$ arm-linux-strip target/lib/*.so.*
 \end{bashinput}
 
 And check the final size:
diff --git a/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex b/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex
index 3e9b0629..64415987 100644
--- a/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex
+++ b/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex
@@ -821,8 +821,8 @@ First, check the initial size of the binaries:
 
 Then strip the binaries in \code{/lib}:
 \begin{bashinput}
-$ chmod +w target/lib/*.so
-$ arm-linux-strip target/lib/*.so
+$ chmod +w target/lib/*.so.*
+$ arm-linux-strip target/lib/*.so.*
 \end{bashinput}
 
 And check the final size:




More information about the training-materials-updates mailing list