diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-07-09 17:11:59 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-07-17 13:57:58 -0700 |
| commit | db7fcba5ddd5f383c7632cee01548e65e3566934 (patch) | |
| tree | 535bba3a29f7c358e3c972584e7f119832874c41 /documentation | |
| parent | c56ce8b7cb220e067eb485aa7cfe61e03e8ebd80 (diff) | |
| download | poky-db7fcba5ddd5f383c7632cee01548e65e3566934.tar.gz | |
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: c5c8d7f1604e8a52f8f7fd4fe445db7b3cb02778)
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>
Diffstat (limited to 'documentation')
| -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 6006df1ebd..26faea3db6 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst | |||
| @@ -2400,8 +2400,8 @@ The contents of ``sayhello_0.1.bb`` are:: | |||
| 2400 | S = "${WORKDIR}/git" | 2400 | S = "${WORKDIR}/git" |
| 2401 | 2401 | ||
| 2402 | do_install(){ | 2402 | do_install(){ |
| 2403 | install -d ${D}/usr/bin | 2403 | install -d ${D}${bindir} |
| 2404 | install -m 0700 sayhello ${D}/usr/bin | 2404 | install -m 0700 sayhello ${D}${bindir} |
| 2405 | } | 2405 | } |
| 2406 | 2406 | ||
| 2407 | After placing the recipes in a custom layer we can run ``bitbake sayhello`` | 2407 | After placing the recipes in a custom layer we can run ``bitbake sayhello`` |
