diff options
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 23 | ||||
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 26 |
2 files changed, 49 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index cde8f5bb9e..450501694c 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -1517,6 +1517,29 @@ | |||
1517 | </para> | 1517 | </para> |
1518 | </section> | 1518 | </section> |
1519 | 1519 | ||
1520 | <section id='ref-classes-prserv'> | ||
1521 | <title><filename>prserv.bbclass</filename></title> | ||
1522 | |||
1523 | <para> | ||
1524 | The <filename>prserv</filename> class provides functionality for | ||
1525 | using a | ||
1526 | <ulink url='&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service'>PR service</ulink> | ||
1527 | in order to automatically manage the incrementing of the | ||
1528 | <link linkend='var-PR'><filename>PR</filename></link> variable for | ||
1529 | each recipe. | ||
1530 | </para> | ||
1531 | |||
1532 | <para> | ||
1533 | This class is enabled by default because it is inherited by the | ||
1534 | <link linkend='ref-classes-package'><filename>package</filename></link> | ||
1535 | class. | ||
1536 | However, the OpenEmbedded build system will not use this variable | ||
1537 | unless | ||
1538 | <link linkend='var-PRSERV_HOST'><filename>PRSERV_HOST</filename></link> | ||
1539 | has been set. | ||
1540 | </para> | ||
1541 | </section> | ||
1542 | |||
1520 | <section id='ref-classes-distutils'> | 1543 | <section id='ref-classes-distutils'> |
1521 | <title>Python Extensions - <filename>distutils.bbclass</filename></title> | 1544 | <title>Python Extensions - <filename>distutils.bbclass</filename></title> |
1522 | 1545 | ||
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index dee179d393..c756512c52 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -4947,6 +4947,32 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
4947 | </glossdef> | 4947 | </glossdef> |
4948 | </glossentry> | 4948 | </glossentry> |
4949 | 4949 | ||
4950 | <glossentry id='var-PRSERV_HOST'><glossterm>PRSERV_HOST</glossterm> | ||
4951 | <glossdef> | ||
4952 | <para> | ||
4953 | The network based | ||
4954 | <link linkend='var-PR'><filename>PR</filename></link> | ||
4955 | service host and port. | ||
4956 | </para> | ||
4957 | |||
4958 | <para> | ||
4959 | The <filename>conf/local.conf.sample.extended</filename> | ||
4960 | configuration file in the | ||
4961 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink> | ||
4962 | shows how the <filename>PRSERV_HOST</filename> variable is | ||
4963 | set: | ||
4964 | <literallayout class='monospaced'> | ||
4965 | PRSERV_HOST = "localhost:0" | ||
4966 | </literallayout> | ||
4967 | You must set the variable if you want to automatically | ||
4968 | start a local | ||
4969 | <ulink url='&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service'>PR service</ulink>. | ||
4970 | You can set <filename>PRSERV_HOST</filename> to other | ||
4971 | values to use a remote PR service. | ||
4972 | </para> | ||
4973 | </glossdef> | ||
4974 | </glossentry> | ||
4975 | |||
4950 | <glossentry id='var-PV'><glossterm>PV</glossterm> | 4976 | <glossentry id='var-PV'><glossterm>PV</glossterm> |
4951 | <glossdef> | 4977 | <glossdef> |
4952 | <para>The version of the recipe. | 4978 | <para>The version of the recipe. |