diff options
-rw-r--r-- | documentation/ref-manual/variables.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 448bea9938..ec879f9f86 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -3234,6 +3234,14 @@ system and gives an overview of their function and contents. | |||
3234 | 3234 | ||
3235 | GROUPADD_PARAM:${PN} = "-r netdev" | 3235 | GROUPADD_PARAM:${PN} = "-r netdev" |
3236 | 3236 | ||
3237 | More than one group can be added by separating each set of different | ||
3238 | groups' parameters with a semicolon. | ||
3239 | |||
3240 | Here is an example adding multiple groups from the ``useradd-example.bb`` | ||
3241 | file in the ``meta-skeleton`` layer:: | ||
3242 | |||
3243 | GROUPADD_PARAM:${PN} = "-g 880 group1; -g 890 group2" | ||
3244 | |||
3237 | For information on the standard Linux shell command | 3245 | For information on the standard Linux shell command |
3238 | ``groupadd``, see https://linux.die.net/man/8/groupadd. | 3246 | ``groupadd``, see https://linux.die.net/man/8/groupadd. |
3239 | 3247 | ||