diff mbox series

ref-manual: variables.rst: adding multiple groups in GROUPADD_PARAM

Message ID 20240228072455.1452176-1-geoffrey.parker@arthrex.com
State New
Headers show
Series ref-manual: variables.rst: adding multiple groups in GROUPADD_PARAM | expand

Commit Message

Geoff Parker Feb. 28, 2024, 7:24 a.m. UTC
From: Geoff Parker <geoffrey.parker@arthrex.com>

Add missing documentation on how to add multiple groups with a single
GROUPADD_PARAM:${PN}

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
---
 documentation/ref-manual/variables.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Michael Opdenacker Feb. 29, 2024, 12:42 p.m. UTC | #1
Hi Geoff

On 2/28/24 at 08:24, Geoff Parker wrote:
> From: Geoff Parker <geoffrey.parker@arthrex.com>
>
> Add missing documentation on how to add multiple groups with a single
> GROUPADD_PARAM:${PN}
>
> Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
> ---
>   documentation/ref-manual/variables.rst | 8 ++++++++
>   1 file changed, 8 insertions(+)


Many thanks for this improvement to the docs!
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Merged into master-next.
Cheers
Michael.

>
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index a0187a6d47..fdebcc9ba4 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.
>   
>            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.
>   
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#4910): https://lists.yoctoproject.org/g/docs/message/4910
> Mute This Topic: https://lists.yoctoproject.org/mt/104619596/1051844
> Group Owner: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [michael.opdenacker@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index a0187a6d47..fdebcc9ba4 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.
 
          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.