summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2016-06-08 17:59:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-20 15:04:50 +0200
commite68a03ec7872501502cf28ae1fb2007fc3d7a5df (patch)
treed6a9f15bdee4985f2df83947e5a9de9124da3b53
parentdc5340e05f5759ee0fc5665f6d539f7c7d8ca115 (diff)
downloadptxdist-e68a03ec7872501502cf28ae1fb2007fc3d7a5df.tar.gz
ptxdist-e68a03ec7872501502cf28ae1fb2007fc3d7a5df.tar.xz
Fix path description for alternative files
The directory in the PTXdist installation is the same 'projectroot' as for regular BSPs and platforms. So, use this directory name now. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
-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
~~~~~~~~~~~~~~~~~~~