diff options
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-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 0887a40b6b..1198ac5696 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -2962,6 +2962,14 @@ system and gives an overview of their function and contents. | |||
2962 | 2962 | ||
2963 | GROUPADD_PARAM:${PN} = "-r netdev" | 2963 | GROUPADD_PARAM:${PN} = "-r netdev" |
2964 | 2964 | ||
2965 | More than one group can be added by separating each set of different | ||
2966 | groups' parameters with a semicolon. | ||
2967 | |||
2968 | Here is an example adding multiple groups from the ``useradd-example.bb`` | ||
2969 | file in the ``meta-skeleton`` layer:: | ||
2970 | |||
2971 | GROUPADD_PARAM:${PN} = "-g 880 group1; -g 890 group2" | ||
2972 | |||
2965 | For information on the standard Linux shell command | 2973 | For information on the standard Linux shell command |
2966 | ``groupadd``, see https://linux.die.net/man/8/groupadd. | 2974 | ``groupadd``, see https://linux.die.net/man/8/groupadd. |
2967 | 2975 | ||