summaryrefslogtreecommitdiffstats
path: root/documentation
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-11 08:11:53 -0700
commit395f818c91975053b64af802a625430cb661476f (patch)
tree80b92ec31b907903f07fe3d1b7d736edbfece42f /documentation
parent5d74429ce93e9cd77fd0e915ff4be03b116a7f5b (diff)
downloadpoky-395f818c91975053b64af802a625430cb661476f.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: f06601fd09d6394fcc02134f24e337a9e6170584) 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>
Diffstat (limited to 'documentation')
-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 56dd3b3b55..93382f91a0 100644
--- a/documentation/overview-manual/concepts.rst
+++ b/documentation/overview-manual/concepts.rst
@@ -2394,8 +2394,8 @@ The contents of ``sayhello_0.1.bb`` are::
2394 S = "${WORKDIR}/git" 2394 S = "${WORKDIR}/git"
2395 2395
2396 do_install(){ 2396 do_install(){
2397 install -d ${D}/usr/bin 2397 install -d ${D}${bindir}
2398 install -m 0700 sayhello ${D}/usr/bin 2398 install -m 0700 sayhello ${D}${bindir}
2399 } 2399 }
2400 2400
2401After placing the recipes in a custom layer we can run ``bitbake sayhello`` 2401After placing the recipes in a custom layer we can run ``bitbake sayhello``