summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorGeoff Parker <geoffrey.parker@arthrex.com>2024-02-27 23:24:55 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-06 16:54:54 +0000
commit833506169caec4feabb8daafe2b79c8cddae876e (patch)
treee1e93ec5d406c1a46230ac89b9b094e3796f97cc /documentation
parent9400b992fd4c5fe14c446c44214d106b6e162971 (diff)
downloadpoky-833506169caec4feabb8daafe2b79c8cddae876e.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: e55d2aa6a0ee58ee980de2a6ca8d531c7c0cd44a) Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-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 fc348f1030..9db1808cc2 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