diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-07-09 17:11:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-11 13:30:44 +0100 |
commit | 217d5b3c3c95badd7c65f95232d15a81af8a01db (patch) | |
tree | bfbdb03dd0d0d2a0bb3958b4e7c39aff55dc2d40 | |
parent | d4a065a7e87af37651d25b8092c7dc10aaa4ce10 (diff) | |
download | poky-master.tar.gz |
Replace the hardcoded /usr/bin by ${bindir}, as it should be.
Reported-by: Thomas Perrot <thomas.perrot@bootlin.com>
(From yocto-docs rev: 576677eae6960dbc2d2ececeba0fde5bba7bb69f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/overview-manual/concepts.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 99a8f02a03..e8569e4f53 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst | |||
@@ -2396,8 +2396,8 @@ The contents of ``sayhello_0.1.bb`` are:: | |||
2396 | RDEPENDS:${PN} += "libhello" | 2396 | RDEPENDS:${PN} += "libhello" |
2397 | 2397 | ||
2398 | do_install(){ | 2398 | do_install(){ |
2399 | install -d ${D}/usr/bin | 2399 | install -d ${D}${bindir} |
2400 | install -m 0700 sayhello ${D}/usr/bin | 2400 | install -m 0700 sayhello ${D}${bindir} |
2401 | } | 2401 | } |
2402 | 2402 | ||
2403 | After placing the recipes in a custom layer we can run ``bitbake sayhello`` | 2403 | After placing the recipes in a custom layer we can run ``bitbake sayhello`` |