summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-04-07 14:46:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-08 14:20:16 +0100
commit68a55c8ff779d8df90626e68d5d4e48660dd8027 (patch)
tree3b0c88f6fbd44048f9d3b65fc7b2db271ee098bb /documentation/ref-manual/ref-variables.xml
parent90d52bd51e0e34dc8ffd9c83c3d7fe9551dcce8f (diff)
downloadpoky-68a55c8ff779d8df90626e68d5d4e48660dd8027.tar.gz
ref-manual: Edits to fix up how GID and UIDs are handled.
Some review edits to change the useradd-staticids class and the related USERADD* variables. Input from Paul Eggleton. (From yocto-docs rev: 9b94046721a971de41d2062a48d624e06dcf17f0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.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.xml54
1 files changed, 27 insertions, 27 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 6eae958e58..258ae2c6db 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -7853,26 +7853,24 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
7853 </para> 7853 </para>
7854 7854
7855 <para> 7855 <para>
7856 The default behavior for the build system is to look in 7856 When applying static group identification
7857 (<filename>gid</filename>) values, the OpenEmbedded build
7858 system looks in
7857 <link linkend='var-BBPATH'><filename>BBPATH</filename></link> 7859 <link linkend='var-BBPATH'><filename>BBPATH</filename></link>
7858 for a <filename>files/group</filename> file and then dynamically 7860 for a <filename>files/group</filename> file and then applies
7859 apply <filename>uid</filename> values. 7861 those <filename>uid</filename> values.
7860 However, you can override this behavior by using the 7862 Set the variable as follows in your
7861 <link linkend='var-USERADDEXTENSION'><filename>USERADDEXTENSION</filename></link> 7863 <filename>local.conf</filename> file:
7862 variable.
7863 When you do use static values, you must also set the
7864 <filename>USERADD_GID_TABLES</filename> variable in your
7865 <filename>local.conf</filename> file as follows:
7866 <literallayout class='monospaced'> 7864 <literallayout class='monospaced'>
7867 USERADD_GID_TABLES = "files/group" 7865 USERADD_GID_TABLES = "files/group"
7868 </literallayout> 7866 </literallayout>
7869 </para> 7867 </para>
7870 7868
7871 <note> 7869 <note>
7872 When using static information for user adds, you must 7870 Setting the
7873 also use the 7871 <link linkend='var-USERADDEXTENSION'><filename>USERADDEXTENSION</filename></link>
7874 <link linkend='var-USERADD_UID_TABLES'><filename>USERADD_UID_TABLES</filename></link> 7872 variable to "useradd-staticids" causes the build system
7875 variable. 7873 to use static <filename>gid</filename> values.
7876 </note> 7874 </note>
7877 </glossdef> 7875 </glossdef>
7878 </glossentry> 7876 </glossentry>
@@ -7887,26 +7885,24 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
7887 </para> 7885 </para>
7888 7886
7889 <para> 7887 <para>
7890 The default behavior for the build system is to look in 7888 When applying static user identification
7889 (<filename>uid</filename>) values, the OpenEmbedded build
7890 system looks in
7891 <link linkend='var-BBPATH'><filename>BBPATH</filename></link> 7891 <link linkend='var-BBPATH'><filename>BBPATH</filename></link>
7892 for the <filename>files/passwd</filename> file and 7892 for a <filename>files/passwd</filename> file and then applies
7893 then dynamically apply <filename>uid</filename> values. 7893 those <filename>uid</filename> values.
7894 However, you can override this behavior by using the 7894 Set the variable as follows in your
7895 <link linkend='var-USERADDEXTENSION'><filename>USERADDEXTENSION</filename></link> 7895 <filename>local.conf</filename> file:
7896 variable.
7897 When you do use static values, you must also set the
7898 <filename>USERADD_UID_TABLES</filename> variable in your
7899 <filename>local.conf</filename> file as follows:
7900 <literallayout class='monospaced'> 7896 <literallayout class='monospaced'>
7901 USERADD_UID_TABLES = "files/passwd" 7897 USERADD_UID_TABLES = "files/passwd"
7902 </literallayout> 7898 </literallayout>
7903 </para> 7899 </para>
7904 7900
7905 <note> 7901 <note>
7906 When using static information for group adds, you must 7902 Setting the
7907 also use the 7903 <link linkend='var-USERADDEXTENSION'><filename>USERADDEXTENSION</filename></link>
7908 <link linkend='var-USERADD_GID_TABLES'><filename>USERADD_GID_TABLES</filename></link> 7904 variable to "useradd-staticids" causes the build system
7909 variable. 7905 to use static <filename>uid</filename> values.
7910 </note> 7906 </note>
7911 </glossdef> 7907 </glossdef>
7912 </glossentry> 7908 </glossentry>
@@ -7976,7 +7972,11 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
7976 OpenEmbedded build system to base all user and group 7972 OpenEmbedded build system to base all user and group
7977 additions on a static 7973 additions on a static
7978 <filename>passwd</filename> and 7974 <filename>passwd</filename> and
7979 <filename>group</filename> files. 7975 <filename>group</filename> files found in
7976 <link linkend='var-BBPATH'><filename>BBPATH</filename></link>.
7977 </para>
7978
7979 <para>
7980 To use static user identification (<filename>uid</filename>) 7980 To use static user identification (<filename>uid</filename>)
7981 and group identification (<filename>gid</filename>) 7981 and group identification (<filename>gid</filename>)
7982 values, set the variable 7982 values, set the variable