diff options
| author | Geoff Parker <geoffrey.parker@arthrex.com> | 2024-02-27 23:24:55 -0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-03-25 04:11:26 -1000 |
| commit | d51c7e990b57de0c5195888620875cf0e2d20a5c (patch) | |
| tree | 10e0d322c0c4747b7e2245dcdb50366281b07037 /documentation/ref-manual | |
| parent | 48bd3888df136a4e9d8a97f942d8c4212f102cc0 (diff) | |
| download | poky-d51c7e990b57de0c5195888620875cf0e2d20a5c.tar.gz | |
ref-manual: variables: adding multiple groups in GROUPADD_PARAM
Add missing documentation on how to add multiple groups with a single
GROUPADD_PARAM:${PN}
(From yocto-docs rev: 46f82dcb3b4042491efd44b9c15a06e3c910ec85)
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual')
| -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 | ||
