From 217d5b3c3c95badd7c65f95232d15a81af8a01db Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Wed, 9 Jul 2025 17:11:59 +0200 Subject: overview-manual/concepts.rst: fix sayhello hardcoded bindir Replace the hardcoded /usr/bin by ${bindir}, as it should be. Reported-by: Thomas Perrot (From yocto-docs rev: 576677eae6960dbc2d2ececeba0fde5bba7bb69f) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/overview-manual/concepts.rst | 4 ++-- 1 file 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:: 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`` -- cgit v1.2.3-54-g00ecf