summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-10-24 16:26:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-29 16:55:19 +0000
commit21e5d8e2c682b39d94929a5055016db13356cc8b (patch)
tree2417b1c819fd1b77b899c224fde7582ea03cf326 /documentation
parentbd6d8db54bc572b4aa5d54105fc20534a2670a68 (diff)
downloadpoky-21e5d8e2c682b39d94929a5055016db13356cc8b.tar.gz
poky-21e5d8e2c682b39d94929a5055016db13356cc8b.tar.bz2
poky-21e5d8e2c682b39d94929a5055016db13356cc8b.zip
ref-manual: Updates to variable wildcard support
Fixes [YOCTO #12390] Updated three variables: BB_ALLOWED_NETWORKS, BBMASK, and BBFILES. Fixed some linking to be sure to use Python3 links instead of Python 2. Fixed a note to clarify use of the "*" wildcard restrictions in the BB_ALLOWED_NETWORKS variable. (From yocto-docs rev: 6f880d10d0830d80cc2d4d1d5b7ea141dad6d4af) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml17
1 files changed, 12 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 178692a21e..595f2db8b0 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -680,11 +680,18 @@
BB_ALLOWED_NETWORKS = "*.gnu.org"
</literallayout>
<note><title>Important</title>
- The use of the "<filename>*</filename>"
+ <para>The use of the "<filename>*</filename>"
character only works at the beginning of
- a host name.
+ a host name and it must be isolated from
+ the remainder of the host name.
You cannot use the wildcard character in any
- other location of the name.
+ other location of the name or combined with
+ the front part of the name.</para>
+
+ <para>For example,
+ <filename>*.foo.bar</filename> is supported,
+ while <filename>*aa.foo.bar</filename> is not.
+ </para>
</note>
</para></listitem>
<listitem><para>
@@ -1152,7 +1159,7 @@
<para>
When specifying recipe files, you can pattern match using
Python's
- <ulink url='https://docs.python.org/2/library/glob.html'><filename>glob</filename></ulink>
+ <ulink url='https://docs.python.org/3/library/glob.html'><filename>glob</filename></ulink>
syntax.
For details on the syntax, see the documentation by
following the previous link.
@@ -1296,7 +1303,7 @@
the files.
For complete syntax information, see Python's
documentation at
- <ulink url='http://docs.python.org/release/2.3/lib/re-syntax.html'></ulink>.
+ <ulink url='http://docs.python.org/3/library/re.html#re'></ulink>.
</para>
<para>