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:18:22 +0000 |
commit | 010d18250dd124885473f5c007f35126639e6b59 (patch) | |
tree | 25ee284c0c4b14c42668a79bec8944b68acbc275 /documentation/ref-manual/ref-classes.xml | |
parent | 2ac1c7294384df28a16c6598d795cdc36fda5cd4 (diff) | |
download | poky-010d18250dd124885473f5c007f35126639e6b59.tar.gz |
ref-manual: Edits to useradd class.
(From yocto-docs rev: 250b955536f4f8ea4369c08265670b59113dcbfc)
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 | ||