mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02: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: 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>
This commit is contained in:
committed by
Steve Sakoman
parent
48bd3888df
commit
d51c7e990b
@@ -2962,6 +2962,14 @@ system and gives an overview of their function and contents.
|
||||
|
||||
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
|
||||
``groupadd``, see https://linux.die.net/man/8/groupadd.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user