diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-28 11:29:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-04 10:55:02 +0000 |
commit | bc491d69567b35bbf9722417bd6c569d3564fbc4 (patch) | |
tree | 82fdadb0565eb43c757fbe3bb01c5e375827fcc5 /documentation/ref-manual | |
parent | b591dcd33e2ae939f95dd08ecc463687de22efae (diff) | |
download | poky-bc491d69567b35bbf9722417bd6c569d3564fbc4.tar.gz |
ref-manual/faq: Add entry for why binaries are changed in images
(From yocto-docs rev: 33915ef51d0661c4dc76c572456a10a54fba960b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 843a91187783b2e11512c45b8dd8302b19113569)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/faq.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index 7a1614028a..8c2b34be5f 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst | |||
@@ -451,3 +451,14 @@ variant. For another example, permissions errors might be caused by a | |||
451 | Makefile that ignores ``DESTDIR`` or uses a different name for that | 451 | Makefile that ignores ``DESTDIR`` or uses a different name for that |
452 | environment variable. Check the the build system to see if these kinds | 452 | environment variable. Check the the build system to see if these kinds |
453 | of issues exist. | 453 | of issues exist. |
454 | |||
455 | **Q:** I'm adding a binary in a recipe but it's different in the image, what is | ||
456 | changing it? | ||
457 | |||
458 | **A:** The first most obvious change is the system stripping debug symbols from | ||
459 | it. Setting :term:`INHIBIT_PACKAGE_STRIP` to stop debug symbols being stripped and/or | ||
460 | :term:`INHIBIT_PACKAGE_DEBUG_SPLIT` to stop debug symbols being split into a separate | ||
461 | file will ensure the binary is unchanged. The other less obvious thing that can | ||
462 | happen is prelinking of the image. This is set by default in local.conf via | ||
463 | :term:`USER_CLASSES` which can contain 'image-prelink'. If you remove that, the | ||
464 | image will not be prelinked meaning the binaries would be unchanged. | ||