Skip to contentSkip to conversation

dev-manual: Add a note about prelink changing prebuild binaries

PATCH New Richard Purdie 1 participant 1 message Oct 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: Add a note about prelink changing prebuild binaries

---
 documentation/dev-manual/dev-manual-common-tasks.rst | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/dev-manual/dev-manual-common-tasks.rst +7 -0
index 0630040e6..27aacde60 100644
@@ -2602,6 +2602,13 @@ doing the following:
    where you have installed them and whether those files are in
    different locations than the defaults.
 
+.. note::
+
+  If image prelinking is enabled (e.g. "image-prelink" is in :term:`USER_CLASSES`
+  which it is by default), prelink will change the binaries in the generated images
+  and this often catches people out. Remove that class to ensure binaries are
+  preserved exactly if that is necessary.
+
 Following Recipe Style Guidelines
 ---------------------------------
 
Signature · 1 line
2.25.1