mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
documentation/poky-ref-manual/ref-variables.xml: variable edits
* For PE/PV/PR/PN these pertain to a recipe ("package" was used here
historically).
* References to variables should not be prefixed with $ in the text
* Add text about suffixing RCONFLICTS as per other package variables
* Make ALLOW_EMPTY example complete
* Clarify and add example for AUTOREV
In addition to Paul's patch, I re-worded two instances. One
to get rid of "package(s)", which is poor form. And a second
to get rid of "unstable/development", which is also poor form.
(From yocto-docs rev: 498349f8d82f46433626521d148ff6c1d72e2b1c)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
97fc511b01
commit
532aff1df2
@@ -61,7 +61,7 @@
|
|||||||
conjunction with a package name override.
|
conjunction with a package name override.
|
||||||
Here is an example:
|
Here is an example:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
ALLOW_EMPTY_${PN}
|
ALLOW_EMPTY_${PN} = "1"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
@@ -76,9 +76,13 @@
|
|||||||
|
|
||||||
<glossentry id='var-AUTOREV'><glossterm>AUTOREV</glossterm>
|
<glossentry id='var-AUTOREV'><glossterm>AUTOREV</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>Specifies to use the current (newest) source revision.
|
<para>When <filename><link linkend='var-SRCREV'>SRCREV</link></filename>
|
||||||
This variable is with the <filename><link linkend='var-SRCREV'>SRCREV</link></filename>
|
is set to the value of this variable, it specifies that the latest
|
||||||
variable.</para>
|
source revision in the repository should be used. Here is an example:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
SRCREV = "${AUTOREV}"
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|
||||||
@@ -1478,7 +1482,7 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
|
|||||||
|
|
||||||
<glossentry id='var-PACKAGE_ARCH'><glossterm>PACKAGE_ARCH</glossterm>
|
<glossentry id='var-PACKAGE_ARCH'><glossterm>PACKAGE_ARCH</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>The architecture of the resulting package.</para>
|
<para>The architecture of the resulting package or packages.</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|
||||||
@@ -1541,14 +1545,17 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
|
|||||||
|
|
||||||
<glossentry id='var-PN'><glossterm>PN</glossterm>
|
<glossentry id='var-PN'><glossterm>PN</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>The name of the package.
|
<para>The name of the recipe. The name is normally extracted from the recipe file name.
|
||||||
|
For example, if the recipe is named
|
||||||
|
<filename>expat_2.0.1.bb</filename>, then the default value of <filename>PN</filename>
|
||||||
|
will be "expat".
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|
||||||
<glossentry id='var-PR'><glossterm>PR</glossterm>
|
<glossentry id='var-PR'><glossterm>PR</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>The revision of the package.
|
<para>The revision of the recipe.
|
||||||
The default value for this variable is "r0".
|
The default value for this variable is "r0".
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
@@ -1556,13 +1563,13 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
|
|||||||
|
|
||||||
<glossentry id='var-PV'><glossterm>PV</glossterm>
|
<glossentry id='var-PV'><glossterm>PV</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>The version of the package.
|
<para>The version of the recipe.
|
||||||
The version is normally extracted from the recipe name.
|
The version is normally extracted from the recipe filename.
|
||||||
For example, if the recipe is named
|
For example, if the recipe is named
|
||||||
<filename>expat_2.0.1.bb</filename>, then <filename>PV</filename>
|
<filename>expat_2.0.1.bb</filename>, then the default value of <filename>PV</filename>
|
||||||
will be <filename>2.0.1</filename>.
|
will be "2.0.1".
|
||||||
<filename>PV</filename> is generally not overridden within
|
<filename>PV</filename> is generally not overridden within
|
||||||
a recipe unless it is building an unstable version from a source code repository
|
a recipe unless it is building an unstable (i.e. development) version from a source code repository
|
||||||
(e.g. Git or Subversion).
|
(e.g. Git or Subversion).
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
@@ -1571,7 +1578,7 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
|
|||||||
<glossentry id='var-PE'><glossterm>PE</glossterm>
|
<glossentry id='var-PE'><glossterm>PE</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>
|
<para>
|
||||||
the epoch of the package.
|
the epoch of the recipe.
|
||||||
The default value is "0".
|
The default value is "0".
|
||||||
The field is used to make upgrades possible when the versioning scheme changes in
|
The field is used to make upgrades possible when the versioning scheme changes in
|
||||||
some backwards incompatible way.
|
some backwards incompatible way.
|
||||||
@@ -1586,7 +1593,7 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
|
|||||||
determines which recipe should be given preference.
|
determines which recipe should be given preference.
|
||||||
The variable must always be suffixed with the name of the
|
The variable must always be suffixed with the name of the
|
||||||
provided item, and should be set to the
|
provided item, and should be set to the
|
||||||
<filename>$PN</filename> of the recipe
|
<filename>PN</filename> of the recipe
|
||||||
to which you want to give precedence.
|
to which you want to give precedence.
|
||||||
Here is an example:
|
Here is an example:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
@@ -1601,9 +1608,9 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
|
|||||||
<para>
|
<para>
|
||||||
If there are multiple versions of recipes available, this
|
If there are multiple versions of recipes available, this
|
||||||
variable determines which recipe should be given preference.
|
variable determines which recipe should be given preference.
|
||||||
The variable must always be suffixed with the <filename>$PN</filename>
|
The variable must always be suffixed with the <filename>PN</filename>
|
||||||
for which to select, and should be set to the
|
for which to select, and should be set to the
|
||||||
<filename>$PV</filename> to which you want to give precedence.
|
<filename>PV</filename> to which you want to give precedence.
|
||||||
You can use the "<filename>%</filename>" character as a wildcard
|
You can use the "<filename>%</filename>" character as a wildcard
|
||||||
to match any number of characters, which can be useful when
|
to match any number of characters, which can be useful when
|
||||||
specifying versions that contain long revision number that could
|
specifying versions that contain long revision number that could
|
||||||
@@ -1626,9 +1633,17 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
|
|||||||
|
|
||||||
<glossentry id='var-RCONFLICTS'><glossterm>RCONFLICTS</glossterm>
|
<glossentry id='var-RCONFLICTS'><glossterm>RCONFLICTS</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>The list of packages that conflict with this package.
|
<para>The list of packages that conflict with a package.
|
||||||
Note that the package will not be installed if the conflicting packages are not
|
Note that the package will not be installed if the conflicting packages are not
|
||||||
first removed.</para>
|
first removed.</para>
|
||||||
|
<para>
|
||||||
|
Like all package-controlling variables, you must always use them in
|
||||||
|
conjunction with a package name override.
|
||||||
|
Here is an example:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
RCONFLICTS_${PN} = "another-conflicting-package-name"
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user