diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2020-02-20 21:27:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-11 14:41:44 +0000 |
commit | a4cc2e0d447bc244e932a5315a06a227c8b9537f (patch) | |
tree | 02a39f45b1a6db2e9b30efa7c719d93ea26a04e7 /documentation/ref-manual/ref-variables.xml | |
parent | 91241f2b1213a7b0aa97f004e8ed716f2ebe1dcb (diff) | |
download | poky-a4cc2e0d447bc244e932a5315a06a227c8b9537f.tar.gz |
ref-manual: Update the documentation for USERADD_ERROR_DYNAMIC
* Update USERADD_ERROR_DYNAMIC[doc] and the first paragraph to match
the definition in meta/conf/documentation.conf.
* Add a note explaining the differences in behavior when setting
USERADD_ERROR_DYNAMIC to "warn" and "error" respectively.
[YOCTO #12932]
(From yocto-docs rev: 28cd546f3fe1eadd73ba71f9fe9a558538e69b0f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index e6009926be..c8ece0c579 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -16770,18 +16770,21 @@ | |||
16770 | 16770 | ||
16771 | <glossentry id='var-USERADD_ERROR_DYNAMIC'><glossterm>USERADD_ERROR_DYNAMIC</glossterm> | 16771 | <glossentry id='var-USERADD_ERROR_DYNAMIC'><glossterm>USERADD_ERROR_DYNAMIC</glossterm> |
16772 | <info> | 16772 | <info> |
16773 | USERADD_ERROR_DYNAMIC[doc] = "If set to 'error', forces the OpenEmbedded build system to produce an error if the user identification (uid) and group identification (gid) values are not defined in files/passwd and files/group files. If set to 'warn', a warning will be issued instead." | 16773 | USERADD_ERROR_DYNAMIC[doc] = "If set to 'error', forces the OpenEmbedded build system to produce an error if the user identification (uid) and group identification (gid) values are not defined in any of the files listed in USERADD_UID_TABLES and USERADD_GID_TABLES. If set to 'warn', a warning will be issued instead." |
16774 | </info> | 16774 | </info> |
16775 | <glossdef> | 16775 | <glossdef> |
16776 | <para role="glossdeffirst"> | 16776 | <para role="glossdeffirst"> |
16777 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | 16777 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> |
16778 | If set to "error", forces the OpenEmbedded build system to | 16778 | |
16779 | produce an error if the user identification | 16779 | If set to <filename>error</filename>, forces the |
16780 | (<filename>uid</filename>) and group identification | 16780 | OpenEmbedded build system to produce an error if the user |
16781 | (<filename>gid</filename>) values are not defined | 16781 | identification (<filename>uid</filename>) and group |
16782 | in <filename>files/passwd</filename> | 16782 | identification (<filename>gid</filename>) values are not |
16783 | and <filename>files/group</filename> files. | 16783 | defined in any of the files listed |
16784 | If set to "warn", a warning will be issued instead. | 16784 | in <link linkend='var-USERADD_UID_TABLES'><filename>USERADD_UID_TABLES</filename></link> |
16785 | and <link linkend='var-USERADD_GID_TABLES'><filename>USERADD_GID_TABLES</filename></link>. If | ||
16786 | set to <filename>warn</filename>, a warning will be issued | ||
16787 | instead. | ||
16785 | </para> | 16788 | </para> |
16786 | 16789 | ||
16787 | <para> | 16790 | <para> |
@@ -16808,6 +16811,20 @@ | |||
16808 | <link linkend='var-USERADD_GID_TABLES'><filename>USERADD_GID_TABLES</filename></link> | 16811 | <link linkend='var-USERADD_GID_TABLES'><filename>USERADD_GID_TABLES</filename></link> |
16809 | variables. | 16812 | variables. |
16810 | </para> | 16813 | </para> |
16814 | |||
16815 | <note> | ||
16816 | There is a difference in behavior between | ||
16817 | setting <filename>USERADD_ERROR_DYNAMIC</filename> | ||
16818 | to <filename>error</filename> and setting it | ||
16819 | to <filename>warn</filename>. When it is set | ||
16820 | to <filename>warn</filename>, the build system will report a | ||
16821 | warning for every undefined <filename>uid</filename> and | ||
16822 | <filename>gid</filename> in any recipe. But when it is set | ||
16823 | to <filename>error</filename>, it will only report errors | ||
16824 | for recipes that are actually built. This saves you from | ||
16825 | having to add static IDs for recipes that you know will | ||
16826 | never be built. | ||
16827 | </note> | ||
16811 | </glossdef> | 16828 | </glossdef> |
16812 | </glossentry> | 16829 | </glossentry> |
16813 | 16830 | ||