summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Parker <geoffrey.parker@arthrex.com>2024-02-27 23:24:55 -0800
committerSteve Sakoman <steve@sakoman.com>2024-03-16 08:33:21 -1000
commit1e4304b007b06a8b95b109b6831e51d3adebf836 (patch)
tree97ea1c9b2a3cecf14994dc11b1609d83c69fe57d
parentb2fd801cd65593f0e7c28edb8b20ce81d2aebc26 (diff)
downloadpoky-1e4304b007b06a8b95b109b6831e51d3adebf836.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: 8d1aecf5aa638aa98676bda9b30a241c350f94a3) 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>
-rw-r--r--documentation/ref-manual/variables.rst8
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