From 395f818c91975053b64af802a625430cb661476f Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Wed, 9 Jul 2025 17:11:59 +0200 Subject: [PATCH] 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: f06601fd09d6394fcc02134f24e337a9e6170584) Signed-off-by: Antonin Godard (cherry picked from commit 576677eae6960dbc2d2ececeba0fde5bba7bb69f) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- 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 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:: S = "${WORKDIR}/git" 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``