diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-12-05 15:49:22 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-11 14:19:26 +0000 |
commit | 36a9f7ef91a9a868e2dd5e873781992b9abf2029 (patch) | |
tree | f3be665c38ba42d7c0b8681ba49b84bf515a8afd /documentation/ref-manual/ref-classes.xml | |
parent | 1411329d970c1d67322694a347135d299975627b (diff) | |
download | poky-36a9f7ef91a9a868e2dd5e873781992b9abf2029.tar.gz |
ref-manual: Edits to useradd class.
(From yocto-docs rev: ca7cfe44453aa94ddb00b57cf3f87d6eaacb4c25)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 0d64f84cfb..eaab17258d 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -2772,18 +2772,20 @@ | |||
2772 | </section> | 2772 | </section> |
2773 | 2773 | ||
2774 | <section id='ref-classes-useradd'> | 2774 | <section id='ref-classes-useradd'> |
2775 | <title>Adding Users - <filename>useradd.bbclass</filename></title> | 2775 | <title><filename>useradd.bbclass</filename></title> |
2776 | 2776 | ||
2777 | <para> | 2777 | <para> |
2778 | If you have packages that install files that are owned by custom users or groups, | 2778 | The <filename>useradd</filename> class supports recipes that restrict |
2779 | you can use this class to specify those packages and associate the users and groups | 2779 | packages to certain users or groups. |
2780 | with those packages. | 2780 | For example, if you have packages that install files that are owned |
2781 | by custom users or groups, you can use this class to specify | ||
2782 | those packages and then associate them with the users and groups. | ||
2781 | The <filename>meta-skeleton/recipes-skeleton/useradd/useradd-example.bb</filename> | 2783 | The <filename>meta-skeleton/recipes-skeleton/useradd/useradd-example.bb</filename> |
2782 | recipe in the <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink> | 2784 | recipe in the <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink> |
2783 | provides a simple example that shows how to add three | 2785 | provides a simple example that shows how to add three |
2784 | users and groups to two packages. | 2786 | users and groups to two packages. |
2785 | See the <filename>useradd-example.bb</filename> for more information on how to | 2787 | See the <filename>useradd-example.bb</filename> recipe for more |
2786 | use this class. | 2788 | information on how to use this class. |
2787 | </para> | 2789 | </para> |
2788 | </section> | 2790 | </section> |
2789 | 2791 | ||