summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/dev_manual.rst9
-rw-r--r--doc/ref_manual.rst2
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst
index 921b9546d..410c58315 100644
--- a/doc/dev_manual.rst
+++ b/doc/dev_manual.rst
@@ -100,7 +100,7 @@ Runtime Configuration
Many packages are using run-time configuration files along with their
executables and libraries. PTXdist provides default configuration files
for the most common cases. These files can be found in the
-``generic/etc`` directory and they are using the same names as the ones
+``projectroot/etc`` directory and they are using the same names as the ones
at run-time (and their install directory on the target side will also be
``/etc``).
@@ -109,9 +109,10 @@ absence of a common case. The project must provide replacements of these
files with a more useful content in every case where the (empty) default
one does not meet the target’s requirements.
-PTXdist first searches the project local ``./projectroot/etc`` directory
-for a specific configuration file and falls back to use the default one
-if none exists locally.
+PTXdist first searches in the local project directory for a specific
+configuration file and falls back to use the default one if none exists
+locally. Refer section :ref:`install_alternative` for further
+details in which order and locations PTXdist searches for these kind of files.
A popular example is the configuration file ``/etc/fstab``. The default
one coming with PTXdist works for the most common cases. But if our
diff --git a/doc/ref_manual.rst b/doc/ref_manual.rst
index 85cdfef9f..a24cb6cc1 100644
--- a/doc/ref_manual.rst
+++ b/doc/ref_manual.rst
@@ -623,6 +623,8 @@ to the root filesystem at location ``/usr/share/bar``.
$(call install_alternative_tree, foo, 0, 0, /usr/share/bar)
+.. _install_alternative:
+
install_alternative
~~~~~~~~~~~~~~~~~~~