diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-10-27 13:43:46 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-29 23:16:34 +0000 |
| commit | 57a885f242f81a2c02353db95faacc89b499cbfa (patch) | |
| tree | 2c9076027fbd5280c4f4ff5c8998b51810d22e75 /documentation/ref-manual | |
| parent | 39d29350f7adae882368bd6739091c786b22d418 (diff) | |
| download | poky-57a885f242f81a2c02353db95faacc89b499cbfa.tar.gz | |
ref-manual/classes.rst: document the relative_symlinks class
Added by commit e478550c8cd8 ("openssl/fontconfig/bzip2: Use relative
symlinks instead of absolute ones (using a new class)") in OE-Core.
(From yocto-docs rev: c0dc554eba7d421023ecc68a70b7a19df38628b0)
Signed-off-by: Antonin Godard <antonin.godard@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 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 0e616420cf..2a69d2d59b 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -2498,6 +2498,25 @@ The :ref:`ref-classes-recipe_sanity` class checks for the presence of any host s | |||
| 2498 | recipe prerequisites that might affect the build (e.g. variables that | 2498 | recipe prerequisites that might affect the build (e.g. variables that |
| 2499 | are set or software that is present). | 2499 | are set or software that is present). |
| 2500 | 2500 | ||
| 2501 | .. _ref-classes-relative_symlinks: | ||
| 2502 | |||
| 2503 | ``relative_symlinks`` | ||
| 2504 | ===================== | ||
| 2505 | |||
| 2506 | The :ref:`ref-classes-relative_symlinks` class walks the symbolic links in the | ||
| 2507 | :term:`D` directory and replaces links pointing to absolute paths to relative | ||
| 2508 | paths. This is occasionally used in some recipes that create wrong symbolic | ||
| 2509 | links when their :ref:`ref-classes-native` version is built, and/or would cause | ||
| 2510 | breakage in the :ref:`overview-manual/concepts:shared state cache`. | ||
| 2511 | |||
| 2512 | For example, if the following symbolic link is found in :term:`D`:: | ||
| 2513 | |||
| 2514 | /usr/bin/foo -> /sbin/bar | ||
| 2515 | |||
| 2516 | It is replaced by:: | ||
| 2517 | |||
| 2518 | /usr/bin/foo -> ../../sbin/bar | ||
| 2519 | |||
| 2501 | .. _ref-classes-relocatable: | 2520 | .. _ref-classes-relocatable: |
| 2502 | 2521 | ||
| 2503 | ``relocatable`` | 2522 | ``relocatable`` |
