ref-manual: Edits to SRC_URI variable.
(From yocto-docs rev: f76f5d5a3cb30d72dc45fb50cf6c14b5ef64c605) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
f66e7ffddd
commit
98d10eb86b
|
@ -2942,7 +2942,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
<para>The following list explains the available URI protocols:
|
<para>The following list explains the available URI protocols:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><emphasis><filename>file://</filename> -</emphasis> Fetches files, which is usually
|
<listitem><para><emphasis><filename>file://</filename> -</emphasis> Fetches files, which is usually
|
||||||
a file shipped with the metadata, from the local machine.
|
a file shipped with the
|
||||||
|
<ulink url='&YOCTO_DOCS_DEV_URL;#metadata'>Metadata</ulink>,
|
||||||
|
from the local machine.
|
||||||
The path is relative to the
|
The path is relative to the
|
||||||
<link linkend='var-FILESPATH'><filename>FILESPATH</filename></link>
|
<link linkend='var-FILESPATH'><filename>FILESPATH</filename></link>
|
||||||
variable.
|
variable.
|
||||||
|
@ -2955,11 +2957,12 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
For example, using <filename>bash</filename> to build for the native
|
For example, using <filename>bash</filename> to build for the native
|
||||||
machine, <filename>PN</filename> is <filename>bash-native</filename>.
|
machine, <filename>PN</filename> is <filename>bash-native</filename>.
|
||||||
Using <filename>bash</filename> to build for the target and for Multilib,
|
Using <filename>bash</filename> to build for the target and for Multilib,
|
||||||
<filename>PN</filename> would be <filename>bash</filename> and
|
<link linkend='var-PN'><filename>PN</filename></link>
|
||||||
|
would be <filename>bash</filename> and
|
||||||
<filename>lib64-bash</filename>, respectively.
|
<filename>lib64-bash</filename>, respectively.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis><filename>${PF}</filename> - </emphasis>
|
<listitem><para><emphasis><filename>${PF}</filename> - </emphasis>
|
||||||
<filename>${PN}-${EXTENDPE}${PV}-${PR}</filename>.
|
<filename>${PN}-${EXTENDPE}${<link linkend='var-PV'>PV</link>}-${<link linkend='var-PR'>PR</link>}</filename>.
|
||||||
The recipe name including all version and revision numbers
|
The recipe name including all version and revision numbers
|
||||||
(i.e. <filename>eglibc-2.13-r20+svnr15508/</filename> and
|
(i.e. <filename>eglibc-2.13-r20+svnr15508/</filename> and
|
||||||
<filename>bash-4.2-r1/</filename>).</para></listitem>
|
<filename>bash-4.2-r1/</filename>).</para></listitem>
|
||||||
|
@ -2971,7 +2974,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
base recipe name without any special suffix or version numbers.
|
base recipe name without any special suffix or version numbers.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis><filename>${BP}</filename> -</emphasis>
|
<listitem><para><emphasis><filename>${BP}</filename> -</emphasis>
|
||||||
<filename>${BPN}-${PV}</filename>.
|
<filename>${<link linkend='var-BPN'>BPN</link>}-${PV}</filename>.
|
||||||
The base recipe name and version but without any special
|
The base recipe name and version but without any special
|
||||||
package name suffix.</para></listitem>
|
package name suffix.</para></listitem>
|
||||||
<listitem><para><emphasis>Files -</emphasis> Files beneath the directory in which the recipe
|
<listitem><para><emphasis>Files -</emphasis> Files beneath the directory in which the recipe
|
||||||
|
@ -2984,7 +2987,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
<listitem><para><emphasis><filename>git://</filename> -</emphasis> Fetches files from a
|
<listitem><para><emphasis><filename>git://</filename> -</emphasis> Fetches files from a
|
||||||
Git revision control repository.</para></listitem>
|
Git revision control repository.</para></listitem>
|
||||||
<listitem><para><emphasis><filename>osc://</filename> -</emphasis> Fetches files from
|
<listitem><para><emphasis><filename>osc://</filename> -</emphasis> Fetches files from
|
||||||
an OSC (OpenSuse Build service) revision control repository.</para></listitem>
|
an OSC (OpenSUSE Build service) revision control repository.</para></listitem>
|
||||||
<listitem><para><emphasis><filename>repo://</filename> -</emphasis> Fetches files from
|
<listitem><para><emphasis><filename>repo://</filename> -</emphasis> Fetches files from
|
||||||
a repo (Git) repository.</para></listitem>
|
a repo (Git) repository.</para></listitem>
|
||||||
<listitem><para><emphasis><filename>svk://</filename> -</emphasis> Fetches files from
|
<listitem><para><emphasis><filename>svk://</filename> -</emphasis> Fetches files from
|
||||||
|
@ -3020,24 +3023,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
</para>
|
</para>
|
||||||
<para>Here are options specific to recipes building code from a revision control system:
|
<para>Here are options specific to recipes building code from a revision control system:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><emphasis><filename>mindate</filename> -</emphasis> Only applies
|
<listitem><para><emphasis><filename>mindate</filename> -</emphasis>
|
||||||
the patch if <link linkend='var-SRCDATE'><filename>SRCDATE</filename></link>
|
Apply the patch only if
|
||||||
is equal to or greater than <filename>mindate</filename>.</para></listitem>
|
<link linkend='var-SRCDATE'><filename>SRCDATE</filename></link>
|
||||||
<listitem><para><emphasis><filename>maxdate</filename> -</emphasis> Only applies
|
is equal to or greater than <filename>mindate</filename>.
|
||||||
the patch if <link linkend='var-SRCDATE'><filename>SRCDATE</filename></link>
|
</para></listitem>
|
||||||
is not later than <filename>mindate</filename>.</para></listitem>
|
<listitem><para><emphasis><filename>maxdate</filename> -</emphasis>
|
||||||
<listitem><para><emphasis><filename>minrev</filename> -</emphasis> Only applies
|
Apply the patch only if <filename>SRCDATE</filename>
|
||||||
the patch if <link linkend='var-SRCREV'><filename>SRCREV</filename></link>
|
is not later than <filename>mindate</filename>.
|
||||||
is equal to or greater than <filename>minrev</filename>.</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis><filename>maxrev</filename> -</emphasis> Only applies
|
<listitem><para><emphasis><filename>minrev</filename> -</emphasis>
|
||||||
the patch if <link linkend='var-SRCREV'><filename>SRCREV</filename></link>
|
Apply the patch only if <filename>SRCREV</filename>
|
||||||
is not later than <filename>maxrev</filename>.</para></listitem>
|
is equal to or greater than <filename>minrev</filename>.
|
||||||
<listitem><para><emphasis><filename>rev</filename> -</emphasis> Only applies the
|
</para></listitem>
|
||||||
patch if <link linkend='var-SRCREV'><filename>SRCREV</filename></link>
|
<listitem><para><emphasis><filename>maxrev</filename> -</emphasis>
|
||||||
is equal to <filename>rev</filename>.</para></listitem>
|
Apply the patch only if <filename>SRCREV</filename>
|
||||||
<listitem><para><emphasis><filename>notrev</filename> -</emphasis> Only applies
|
is not later than <filename>maxrev</filename>.
|
||||||
the patch if <link linkend='var-SRCREV'><filename>SRCREV</filename></link>
|
</para></listitem>
|
||||||
is not equal to <filename>rev</filename>.</para></listitem>
|
<listitem><para><emphasis><filename>rev</filename> -</emphasis>
|
||||||
|
Apply the patch only if <filename>SRCREV</filename>
|
||||||
|
is equal to <filename>rev</filename>.
|
||||||
|
</para></listitem>
|
||||||
|
<listitem><para><emphasis><filename>notrev</filename> -</emphasis>
|
||||||
|
Apply the patch only if <filename>SRCREV</filename>
|
||||||
|
is not equal to <filename>rev</filename>.
|
||||||
|
</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
<para>Here are some additional options worth mentioning:
|
<para>Here are some additional options worth mentioning:
|
||||||
|
@ -3049,7 +3059,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
(or extracts its contents) into the specified
|
(or extracts its contents) into the specified
|
||||||
subdirectory of <link linkend='var-WORKDIR'><filename>WORKDIR</filename></link>.
|
subdirectory of <link linkend='var-WORKDIR'><filename>WORKDIR</filename></link>.
|
||||||
This option is useful for unusual tarballs or other archives that
|
This option is useful for unusual tarballs or other archives that
|
||||||
don't have their files already in a subdirectory within the archive.
|
do not have their files already in a subdirectory within the archive.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis><filename>name</filename> -</emphasis> Specifies a
|
<listitem><para><emphasis><filename>name</filename> -</emphasis> Specifies a
|
||||||
name to be used for association with <filename>SRC_URI</filename> checksums
|
name to be used for association with <filename>SRC_URI</filename> checksums
|
||||||
|
|
Loading…
Reference in New Issue