summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-07-09 17:11:59 +0200
committerSteve Sakoman <steve@sakoman.com>2025-07-14 08:37:40 -0700
commitcb43809aa3cc979bbc08f9f8b3f5296009be95a9 (patch)
tree8d685ed63afd13bacf13d86381fe536ab308c45d
parente4547e0671b18c269ba5d3ae74a48721a385c3c3 (diff)
downloadpoky-cb43809aa3cc979bbc08f9f8b3f5296009be95a9.tar.gz
overview-manual/concepts.rst: fix sayhello hardcoded bindir
Replace the hardcoded /usr/bin by ${bindir}, as it should be. Reported-by: Thomas Perrot <thomas.perrot@bootlin.com> (From yocto-docs rev: 574aff4830ba20ee4471e15656ca5de22a743c37) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 576677eae6960dbc2d2ececeba0fde5bba7bb69f) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--documentation/overview-manual/concepts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
index 22ec460014..401de153c6 100644
--- a/documentation/overview-manual/concepts.rst
+++ b/documentation/overview-manual/concepts.rst
@@ -2438,8 +2438,8 @@ The contents of ``sayhello_0.1.bb`` are::
2438 S = "${WORKDIR}/git" 2438 S = "${WORKDIR}/git"
2439 2439
2440 do_install(){ 2440 do_install(){
2441 install -d ${D}/usr/bin 2441 install -d ${D}${bindir}
2442 install -m 0700 sayhello ${D}/usr/bin 2442 install -m 0700 sayhello ${D}${bindir}
2443 } 2443 }
2444 2444
2445After placing the recipes in a custom layer we can run ``bitbake sayhello`` 2445After placing the recipes in a custom layer we can run ``bitbake sayhello``