[FE training-materials-updates] Fix build of Yocto labs

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Apr 20 14:00:27 CEST 2015


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

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

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

commit b64e874a982f5138455c8f2c8d88ef32947b9949
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Mon Apr 20 13:46:58 2015 +0200

    Fix build of Yocto labs
    
    You cannot use images from other directories than your own lab
    directory, because only the pictures from the current lab directory
    are guaranteed to be generated.
    
    It might have worked for people if you built the kernel labs PDF
    first, and then build the Yocto labs PDF. But building just the Yocto
    labs PDF from a clean state did not work before this fix.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


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

b64e874a982f5138455c8f2c8d88ef32947b9949
 .../bbb-connect-nunchuk.svg                                           | 0
 .../nunchuk-pinout.svg                                                | 0
 labs/yocto-extend-recipe/yocto-extend-recipe.tex                      | 4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/kernel-i2c-device-model/bbb-connect-nunchuk.svg b/labs/yocto-extend-recipe/bbb-connect-nunchuk.svg
similarity index 100%
copy from labs/kernel-i2c-device-model/bbb-connect-nunchuk.svg
copy to labs/yocto-extend-recipe/bbb-connect-nunchuk.svg
diff --git a/labs/kernel-i2c-device-model/nunchuk-pinout.svg b/labs/yocto-extend-recipe/nunchuk-pinout.svg
similarity index 100%
copy from labs/kernel-i2c-device-model/nunchuk-pinout.svg
copy to labs/yocto-extend-recipe/nunchuk-pinout.svg
diff --git a/labs/yocto-extend-recipe/yocto-extend-recipe.tex b/labs/yocto-extend-recipe/yocto-extend-recipe.tex
index f624118..dcef51c 100644
--- a/labs/yocto-extend-recipe/yocto-extend-recipe.tex
+++ b/labs/yocto-extend-recipe/yocto-extend-recipe.tex
@@ -73,7 +73,7 @@ with pins available on the \code{P9} connector.
 Identify the 4 pins of the nunchuk connector:
 
 \begin{center}
-\includegraphics[width=4cm]{labs/kernel-i2c-device-model/nunchuk-pinout.pdf}
+\includegraphics[width=4cm]{labs/yocto-extend-recipe/nunchuk-pinout.pdf}
 \end{center}
 
 Connect the nunchuk pins:
@@ -85,7 +85,7 @@ Connect the nunchuk pins:
 \end{itemize}
 
 \begin{center}
-\includegraphics[width=12cm]{labs/kernel-i2c-device-model/bbb-connect-nunchuk.pdf}
+\includegraphics[width=12cm]{labs/yocto-extend-recipe/bbb-connect-nunchuk.pdf}
 \end{center}
 
 \section{Test the Nunchuk}



More information about the training-materials-updates mailing list