mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
9400b992fd
commit
833506169c
@@ -3234,6 +3234,14 @@ system and gives an overview of their function and contents.
|
|||||||
|
|
||||||
GROUPADD_PARAM:${PN} = "-r netdev"
|
GROUPADD_PARAM:${PN} = "-r netdev"
|
||||||
|
|
||||||
|
More than one group can be added by separating each set of different
|
||||||
|
groups' parameters with a semicolon.
|
||||||
|
|
||||||
|
Here is an example adding multiple groups from the ``useradd-example.bb``
|
||||||
|
file in the ``meta-skeleton`` layer::
|
||||||
|
|
||||||
|
GROUPADD_PARAM:${PN} = "-g 880 group1; -g 890 group2"
|
||||||
|
|
||||||
For information on the standard Linux shell command
|
For information on the standard Linux shell command
|
||||||
``groupadd``, see https://linux.die.net/man/8/groupadd.
|
``groupadd``, see https://linux.die.net/man/8/groupadd.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user