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 @@
+
+ -useradd-staticids.bbclass
+
+
+ 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.
+
+
+
utility-tasks.bbclass
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index d553ba8f71..6eae958e58 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -7853,8 +7853,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
- The default behavior for the build system is to dynamically
- apply gid values.
+ The default behavior for the build system is to look in
+ BBPATH
+ for a files/group file and then dynamically
+ apply uid values.
However, you can override this behavior by using the
USERADDEXTENSION
variable.
@@ -7885,8 +7887,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
- The default behavior for the build system is to dynamically
- apply uid values.
+ The default behavior for the build system is to look in
+ BBPATH
+ for the files/passwd file and
+ then dynamically apply uid values.
However, you can override this behavior by using the
USERADDEXTENSION
variable.
@@ -7965,7 +7969,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
- USERADDEXTENTION
+ USERADDEXTENSION
When set to "useradd-staticids", causes the
@@ -7980,6 +7984,14 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
USERADDEXTENSION = "useradd-staticids"
+
+ Setting this variable to use static
+ uid and gid
+ values causes the OpenEmbedded build system to employ
+ the
+ useradd-staticids
+ class.
+