summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-classes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r--documentation/ref-manual/ref-classes.xml14
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