summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-10-27 13:43:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-29 23:16:34 +0000
commit57a885f242f81a2c02353db95faacc89b499cbfa (patch)
tree2c9076027fbd5280c4f4ff5c8998b51810d22e75 /documentation/ref-manual
parent39d29350f7adae882368bd6739091c786b22d418 (diff)
downloadpoky-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.rst19
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
2498recipe prerequisites that might affect the build (e.g. variables that 2498recipe prerequisites that might affect the build (e.g. variables that
2499are set or software that is present). 2499are set or software that is present).
2500 2500
2501.. _ref-classes-relative_symlinks:
2502
2503``relative_symlinks``
2504=====================
2505
2506The :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
2508paths. This is occasionally used in some recipes that create wrong symbolic
2509links when their :ref:`ref-classes-native` version is built, and/or would cause
2510breakage in the :ref:`overview-manual/concepts:shared state cache`.
2511
2512For example, if the following symbolic link is found in :term:`D`::
2513
2514 /usr/bin/foo -> /sbin/bar
2515
2516It 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``