From e9f089562775eb09374e8eacdc2b36a723f82f28 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 28 Oct 2020 11:49:02 +0000 Subject: dev-manual: Add a note about prelink changing prebuild binaries (From yocto-docs rev: 6c023ee1328bb31ececd9e1daaac67351c8320e3) Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-common-tasks.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/dev-manual/dev-manual-common-tasks.rst b/documentation/dev-manual/dev-manual-common-tasks.rst index 0630040e68..27aacde609 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.rst +++ b/documentation/dev-manual/dev-manual-common-tasks.rst @@ -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 --------------------------------- -- cgit v1.2.3-54-g00ecf