From 90d52bd51e0e34dc8ffd9c83c3d7fe9551dcce8f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 7 Apr 2014 14:10:50 -0700 Subject: ref-manual: Added useradd-staticids class and edits to some variables. Added the new useradd-staticids class to the reference section for classes. Updated the USERADD_UID_TABLES and USERADD_GID_TABLES variables to tell how the system uses BBPATH in the default mode to get UID and GID information from the files/passwd and files/group files. Added a note indicating that you can delete the TMPDIR directory to fix things up if you configure useradd-staticids in a configured system. (From yocto-docs rev: a3f5ee3f5060369405d59a238fb02bddfeae5d6f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'documentation/ref-manual/ref-classes.xml') diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index babe9bd2d6..df114f4eb2 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -3136,6 +3136,60 @@ +
+ <filename>-useradd-staticids.bbclass</filename> + + + The useradd-staticids class supports the addition of + users or groups that have static user identification + (uid) and group identification + (gid) values. + + + + The default behavior of the OpenEmbedded build system for assigning + uid and gid values when + packages add users and groups during package install time is to + look in + BBPATH for + files/passwd and files/group + files for the values. + This works fine for programs that do not care what the values of the + resulting users and groups become. + In these cases, the order of the installation determines the final + uid and gid values. + + + + If non-deterministic + uid and gid values are a + problem, you can override the default, dynamic application of these + values by setting static values. + See the + USERADDEXTENSION, + USERADD_UID_TABLES, + USERADD_GID_TABLES, + and + USERADD_ERROR_DYNAMIC + variables for more information. + You can also see the + useradd + class for additional information. + + + Notes + You do not use this class directly. + You either enable or disable the class by setting the + USERADDEXTENSION variable. + If you enable or disable the class in a configured system, + TMPDIR + might contain incorrect uid and + gid values. + Deleting the TMPDIR directory + will correct this condition. + +
+
<filename>utility-tasks.bbclass</filename> -- cgit v1.2.3-54-g00ecf