diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 210d15099f..58b508e516 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -7806,6 +7806,107 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
+ USERADD_ERROR_DYNAMIC
+
+
+ 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.
+
+
+
+ The default behavior for the build system is to dynamically
+ apply uid and
+ gid values.
+ Consequently, the USERADD_ERROR_DYNAMIC
+ variable is by default not set.
+ If you plan on using statically assigned
+ gid and uid
+ values, you should set
+ the USERADD_ERROR_DYNAMIC variable in
+ your local.conf file as
+ follows:
+
+ USERADD_ERROR_DYNAMIC = "1"
+
+ Overriding the default behavior implies you are going to
+ also take steps to set static uid and
+ gid values through use of the
+ USERADDEXTENSION,
+ USERADD_UID_TABLES,
+ and
+ USERADD_GID_TABLES
+ variables.
+
+
+
+
+ USERADD_GID_TABLES
+
+
+ Specifies a password file to use for obtaining static
+ group identification (gid) values
+ when the OpenEmbedded build system adds a group to the
+ system during package installation.
+
+
+
+ The default behavior for the build system is to dynamically
+ apply gid values.
+ However, you can override this behavior by using the
+ USERADDEXTENSION
+ variable.
+ When you do use static values, you must also set the
+ USERADD_GID_TABLES variable in your
+ local.conf file as follows:
+
+ USERADD_GID_TABLES = "files/group"
+
+
+
+
+ When using static information for user adds, you must
+ also use the
+ USERADD_UID_TABLES
+ variable.
+
+
+
+
+ USERADD_UID_TABLES
+
+
+ Specifies a password file to use for obtaining static
+ user identification (uid) values
+ when the OpenEmbedded build system adds a user to the
+ system during package installation.
+
+
+
+ The default behavior for the build system is to dynamically
+ apply uid values.
+ However, you can override this behavior by using the
+ USERADDEXTENSION
+ variable.
+ When you do use static values, you must also set the
+ USERADD_UID_TABLES variable in your
+ local.conf file as follows:
+
+ USERADD_UID_TABLES = "files/passwd"
+
+
+
+
+ When using static information for group adds, you must
+ also use the
+ USERADD_GID_TABLES
+ variable.
+
+
+
+
USERADD_PACKAGES
@@ -7863,6 +7964,40 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
+
+ USERADDEXTENTION
+
+
+ When set to "useradd-staticids", causes the
+ OpenEmbedded build system to base all user and group
+ additions on a static
+ passwd and
+ group files.
+ To use static user identification (uid)
+ and group identification (gid)
+ values, set the variable
+ as follows in your local.conf file:
+
+ USERADDEXTENSION = "useradd-staticids"
+
+
+
+
+ If you use static uid and
+ gid information, you must also
+ specify the files/passwd and
+ files/group files by setting the
+ USERADD_UID_TABLES
+ and
+ USERADD_GID_TABLES
+ variables.
+ Additionally, you should also set the
+ USERADD_ERROR_DYNAMIC
+ variable.
+
+
+
+