diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2018-10-24 16:26:11 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-29 16:55:19 +0000 |
| commit | 21e5d8e2c682b39d94929a5055016db13356cc8b (patch) | |
| tree | 2417b1c819fd1b77b899c224fde7582ea03cf326 /documentation | |
| parent | bd6d8db54bc572b4aa5d54105fc20534a2670a68 (diff) | |
| download | poky-21e5d8e2c682b39d94929a5055016db13356cc8b.tar.gz | |
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.xml | 17 |
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 @@ | |||
| 680 | BB_ALLOWED_NETWORKS = "*.gnu.org" | 680 | BB_ALLOWED_NETWORKS = "*.gnu.org" |
| 681 | </literallayout> | 681 | </literallayout> |
| 682 | <note><title>Important</title> | 682 | <note><title>Important</title> |
| 683 | The use of the "<filename>*</filename>" | 683 | <para>The use of the "<filename>*</filename>" |
| 684 | character only works at the beginning of | 684 | character only works at the beginning of |
| 685 | a host name. | 685 | a host name and it must be isolated from |
| 686 | the remainder of the host name. | ||
| 686 | You cannot use the wildcard character in any | 687 | You cannot use the wildcard character in any |
| 687 | other location of the name. | 688 | other location of the name or combined with |
| 689 | the front part of the name.</para> | ||
| 690 | |||
| 691 | <para>For example, | ||
| 692 | <filename>*.foo.bar</filename> is supported, | ||
| 693 | while <filename>*aa.foo.bar</filename> is not. | ||
| 694 | </para> | ||
| 688 | </note> | 695 | </note> |
| 689 | </para></listitem> | 696 | </para></listitem> |
| 690 | <listitem><para> | 697 | <listitem><para> |
| @@ -1152,7 +1159,7 @@ | |||
| 1152 | <para> | 1159 | <para> |
| 1153 | When specifying recipe files, you can pattern match using | 1160 | When specifying recipe files, you can pattern match using |
| 1154 | Python's | 1161 | Python's |
| 1155 | <ulink url='https://docs.python.org/2/library/glob.html'><filename>glob</filename></ulink> | 1162 | <ulink url='https://docs.python.org/3/library/glob.html'><filename>glob</filename></ulink> |
| 1156 | syntax. | 1163 | syntax. |
| 1157 | For details on the syntax, see the documentation by | 1164 | For details on the syntax, see the documentation by |
| 1158 | following the previous link. | 1165 | following the previous link. |
| @@ -1296,7 +1303,7 @@ | |||
| 1296 | the files. | 1303 | the files. |
| 1297 | For complete syntax information, see Python's | 1304 | For complete syntax information, see Python's |
| 1298 | documentation at | 1305 | documentation at |
| 1299 | <ulink url='http://docs.python.org/release/2.3/lib/re-syntax.html'></ulink>. | 1306 | <ulink url='http://docs.python.org/3/library/re.html#re'></ulink>. |
| 1300 | </para> | 1307 | </para> |
| 1301 | 1308 | ||
| 1302 | <para> | 1309 | <para> |
