ref-manual: Updated the S variable description with feedback

Applied wording feedback.

Fixes [YOCTO #8542]

(From yocto-docs rev: 847d8bad345728c4a1c95766a127ec6ddb8ad33c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2016-02-15 11:26:18 -08:00 committed by Richard Purdie
parent 2b2ced01f7
commit 34c75fadbd
1 changed files with 7 additions and 4 deletions

View File

@ -10550,10 +10550,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</para>
<para>
This next example assumes Git, which means the default
directory is <filename>${WORKDIR}/git</filename>.
Consequently, you must explicitly set
<filename>S</filename> so the source can be located:
This next example assumes a Git repository.
By default, Git repositories are cloned to
<filename>${WORKDIR}/git</filename> during
<link linkend='ref-tasks-fetch'><filename>do_fetch</filename></link>.
Since this path is different from the default value of
<filename>S</filename>, you must set it specifically
so the source can be located:
<literallayout class='monospaced'>
SRC_URI = "git://path/to/repo.git"
S = "${WORKDIR}/git"