[bootlin/training-materials updates] master: yocto: labs: install python3, not generic 'python' (6d0ad7d9)

Luca Ceresoli luca.ceresoli at bootlin.com
Fri Nov 18 10:38:41 CET 2022


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

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

commit 6d0ad7d9499348d8c08c418164876773a643177f
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Wed Nov 16 10:24:26 2022 +0100

    yocto: labs: install python3, not generic 'python'
    
    Fixes on Ubuntu 22.04:
    
      E: Package 'python' has no installation candidate
    
    Yocto needs python3 anyway.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

6d0ad7d9499348d8c08c418164876773a643177f
 labs/yocto-first-build-stm32/yocto-first-build-stm32.tex | 2 +-
 labs/yocto-first-build/yocto-first-build.tex             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex b/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex
index 6442a21e..62625822 100644
--- a/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex
+++ b/labs/yocto-first-build-stm32/yocto-first-build-stm32.tex
@@ -18,7 +18,7 @@ Go to the \code{$HOME/__SESSION_NAME__-labs/} directory.
 
 Install the required packages:
 \begin{verbatim}
-sudo apt install bc build-essential chrpath cpio diffstat gawk git python \
+sudo apt install bc build-essential chrpath cpio diffstat gawk git python3 \
                  texinfo wget gdisk libssl-dev
 \end{verbatim}
 
diff --git a/labs/yocto-first-build/yocto-first-build.tex b/labs/yocto-first-build/yocto-first-build.tex
index 21f3881c..5ec6ac6b 100644
--- a/labs/yocto-first-build/yocto-first-build.tex
+++ b/labs/yocto-first-build/yocto-first-build.tex
@@ -18,7 +18,7 @@ Go to the \code{$HOME/__SESSION_NAME__-labs/} directory.
 
 Install the required packages:
 \begin{bashinput}
-sudo apt install bc build-essential chrpath cpio diffstat gawk git python texinfo wget
+sudo apt install bc build-essential chrpath cpio diffstat gawk git python3 texinfo wget
 \end{bashinput}
 
 \section{Download Yocto}




More information about the training-materials-updates mailing list