summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-10-27 13:43:46 +0100
committerSteve Sakoman <steve@sakoman.com>2025-10-31 06:23:13 -0700
commit59579acac73b5970d2a78d2fa48ed13eeeb722ac (patch)
treedc9f1d21df193c83621e134014922c01d24d0c16 /documentation
parent56aa9e3241480cc72460390fb21c7e179f0dc68f (diff)
downloadpoky-59579acac73b5970d2a78d2fa48ed13eeeb722ac.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: 073f3bca4c374b03398317e7f445d2440a287741) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit c0dc554eba7d421023ecc68a70b7a19df38628b0) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-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 94a85e3d65..50f565e230 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -2556,6 +2556,25 @@ The :ref:`ref-classes-recipe_sanity` class checks for the presence of any host s
2556recipe prerequisites that might affect the build (e.g. variables that 2556recipe prerequisites that might affect the build (e.g. variables that
2557are set or software that is present). 2557are set or software that is present).
2558 2558
2559.. _ref-classes-relative_symlinks:
2560
2561``relative_symlinks``
2562=====================
2563
2564The :ref:`ref-classes-relative_symlinks` class walks the symbolic links in the
2565:term:`D` directory and replaces links pointing to absolute paths to relative
2566paths. This is occasionally used in some recipes that create wrong symbolic
2567links when their :ref:`ref-classes-native` version is built, and/or would cause
2568breakage in the :ref:`overview-manual/concepts:shared state cache`.
2569
2570For example, if the following symbolic link is found in :term:`D`::
2571
2572 /usr/bin/foo -> /sbin/bar
2573
2574It is replaced by::
2575
2576 /usr/bin/foo -> ../../sbin/bar
2577
2559.. _ref-classes-relocatable: 2578.. _ref-classes-relocatable:
2560 2579
2561``relocatable`` 2580``relocatable``