diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-02-14 17:20:08 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-04 09:39:37 +0000 |
| commit | 6df5aa347544bb52e72d641524aaaeffd8b8f6c3 (patch) | |
| tree | 4fe04bfd89e8c36921caba8d76b17f278ef07e9e /documentation/ref-manual | |
| parent | 0966ba1ebb5ca9feb60eb41316a9abc5d242ffe8 (diff) | |
| download | poky-6df5aa347544bb52e72d641524aaaeffd8b8f6c3.tar.gz | |
documentation: remove references to prelink support
Fixing documentation and updating examples containing "prelink"
in their output.
(From yocto-docs rev: 8927b8fff55fac1bd1fefcff2d16141dbd1ebc51)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/classes.rst | 15 | ||||
| -rw-r--r-- | documentation/ref-manual/faq.rst | 5 | ||||
| -rw-r--r-- | documentation/ref-manual/variables.rst | 5 |
3 files changed, 3 insertions, 22 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 03dd375776..cba9793332 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -953,21 +953,6 @@ specified by :term:`EFI_PROVIDER` if | |||
| 953 | Normally, you do not use this class directly. Instead, you add "live" to | 953 | Normally, you do not use this class directly. Instead, you add "live" to |
| 954 | :term:`IMAGE_FSTYPES`. | 954 | :term:`IMAGE_FSTYPES`. |
| 955 | 955 | ||
| 956 | .. _ref-classes-image-prelink: | ||
| 957 | |||
| 958 | ``image-prelink.bbclass`` | ||
| 959 | ========================= | ||
| 960 | |||
| 961 | The ``image-prelink`` class enables the use of the ``prelink`` utility | ||
| 962 | during the :ref:`ref-tasks-rootfs` task, which optimizes | ||
| 963 | the dynamic linking of shared libraries to reduce executable startup | ||
| 964 | time. | ||
| 965 | |||
| 966 | By default, the class is enabled in the ``local.conf.template`` using | ||
| 967 | the :term:`USER_CLASSES` variable as follows:: | ||
| 968 | |||
| 969 | USER_CLASSES ?= "buildstats image-prelink" | ||
| 970 | |||
| 971 | .. _ref-classes-insane: | 956 | .. _ref-classes-insane: |
| 972 | 957 | ||
| 973 | ``insane.bbclass`` | 958 | ``insane.bbclass`` |
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index e06dfd972b..e06b5e6caa 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst | |||
| @@ -455,7 +455,4 @@ changing it? | |||
| 455 | **A:** The first most obvious change is the system stripping debug symbols from | 455 | **A:** The first most obvious change is the system stripping debug symbols from |
| 456 | it. Setting :term:`INHIBIT_PACKAGE_STRIP` to stop debug symbols being stripped and/or | 456 | it. Setting :term:`INHIBIT_PACKAGE_STRIP` to stop debug symbols being stripped and/or |
| 457 | :term:`INHIBIT_PACKAGE_DEBUG_SPLIT` to stop debug symbols being split into a separate | 457 | :term:`INHIBIT_PACKAGE_DEBUG_SPLIT` to stop debug symbols being split into a separate |
| 458 | file will ensure the binary is unchanged. The other less obvious thing that can | 458 | file will ensure the binary is unchanged. |
| 459 | happen is prelinking of the image. This is set by default in local.conf via | ||
| 460 | :term:`USER_CLASSES` which can contain 'image-prelink'. If you remove that, the | ||
| 461 | image will not be prelinked meaning the binaries would be unchanged. | ||
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index c9d7cfbe92..005456f0c4 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -8537,12 +8537,11 @@ system and gives an overview of their function and contents. | |||
| 8537 | 8537 | ||
| 8538 | :term:`USER_CLASSES` | 8538 | :term:`USER_CLASSES` |
| 8539 | A list of classes to globally inherit. These classes are used by the | 8539 | A list of classes to globally inherit. These classes are used by the |
| 8540 | OpenEmbedded build system to enable extra features (e.g. | 8540 | OpenEmbedded build system to enable extra features. |
| 8541 | ``buildstats``, ``image-prelink``, and so forth). | ||
| 8542 | 8541 | ||
| 8543 | The default list is set in your ``local.conf`` file:: | 8542 | The default list is set in your ``local.conf`` file:: |
| 8544 | 8543 | ||
| 8545 | USER_CLASSES ?= "buildstats image-prelink" | 8544 | USER_CLASSES ?= "buildstats" |
| 8546 | 8545 | ||
| 8547 | For more information, see | 8546 | For more information, see |
| 8548 | ``meta-poky/conf/local.conf.sample`` in the :term:`Source Directory`. | 8547 | ``meta-poky/conf/local.conf.sample`` in the :term:`Source Directory`. |
