mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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: 574aff4830ba20ee4471e15656ca5de22a743c37)
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>
This commit is contained in:
committed by
Steve Sakoman
parent
e4547e0671
commit
cb43809aa3
@@ -2438,8 +2438,8 @@ The contents of ``sayhello_0.1.bb`` are::
|
|||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
do_install(){
|
do_install(){
|
||||||
install -d ${D}/usr/bin
|
install -d ${D}${bindir}
|
||||||
install -m 0700 sayhello ${D}/usr/bin
|
install -m 0700 sayhello ${D}${bindir}
|
||||||
}
|
}
|
||||||
|
|
||||||
After placing the recipes in a custom layer we can run ``bitbake sayhello``
|
After placing the recipes in a custom layer we can run ``bitbake sayhello``
|
||||||
|
|||||||
Reference in New Issue
Block a user