[bootlin/training-materials updates] master: slides/yocto-recipe-advanced: add missing command in example (09a03e90)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Nov 7 22:43:34 CET 2023


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

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

commit 09a03e90d924cdf3b0c1471905332659a11a3913
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Nov 7 22:43:34 2023 +0100

    slides/yocto-recipe-advanced: add missing command in example
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
    Reported-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


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

09a03e90d924cdf3b0c1471905332659a11a3913
 slides/yocto-recipe-advanced/yocto-recipe-advanced.tex | 1 +
 1 file changed, 1 insertion(+)

diff --git a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
index 5a142070..b370b78f 100644
--- a/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
+++ b/slides/yocto-recipe-advanced/yocto-recipe-advanced.tex
@@ -267,6 +267,7 @@ USERADD_PACKAGES = "${PN}"
 USERADD_PARAM = "-u 1000 -d /home/user0 -s /bin/bash user0"
 
 do_install() {
+    install -d ${D}/home/user0/
     install -m 644 file0 ${D}/home/user0/
     chown user0:user0 ${D}/home/user0/file0
 }




More information about the training-materials-updates mailing list