docs/userguide.rst: clarify local file include paths

How relative paths in local file includes are handles is more complex
than this one line makes out to be.

This change clarifies the documentation here.

Signed-off-by: Claudius Heine <ch@denx.de>
[Jan: dropped duplicate blank at beginning of sentence]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Claudius Heine 2022-02-09 10:56:57 +01:00 committed by Jan Kiszka
parent 87ce7f90d6
commit d7af4dc678

View File

@ -185,7 +185,13 @@ repository/layer like this:
- bsp.yml
- product.yml
The specified files are addressed relative to your current configuration file.
The paths to the files in the include list are either absolute, if they start
with a `/`, or relative.
If the path is relative and the configuration file is inside a repository,
then path is relative to the repositories base directory. If the
configuration file is not in a repository, then the path is relative to the
parent directory of the file.
Including configuration files from other repos
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~