overview-manual/concepts.rst: fix sayhello hardcoded bindir
PATCH 1/1 overview-manual/concepts.rst: fix sayhello hardcoded bindir
Replace the hardcoded /usr/bin by ${bindir}, as it should be.
Reported-by Thomas Perrot <[email protected]>
Signed-off-by Antonin Godard <[email protected]>
--- documentation/overview-manual/concepts.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/overview-manual/concepts.rst +2 -2
@@ -2393,8 +2393,8 @@ The contents of ``sayhello_0.1.bb`` are:: RDEPENDS:${PN} += "libhello" do_install(){ - install -d ${D}/usr/bin - install -m 0700 sayhello ${D}/usr/bin + install -d ${D}${bindir} + install -m 0700 sayhello ${D}${bindir} } After placing the recipes in a custom layer we can run ``bitbake sayhello``
---
base-commit: 161a8549441e8c38791ab7f63001b2a15a39d2f2
change-id: 20250709-bindir-docs-a6b0d0325571
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>