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>
This commit is contained in:
Scott Rifenbark 2013-12-05 15:49:22 -06:00 committed by Richard Purdie
parent 2ac1c72943
commit 010d18250d
1 changed files with 8 additions and 6 deletions

View File

@ -2772,18 +2772,20 @@
</section> </section>
<section id='ref-classes-useradd'> <section id='ref-classes-useradd'>
<title>Adding Users - <filename>useradd.bbclass</filename></title> <title><filename>useradd.bbclass</filename></title>
<para> <para>
If you have packages that install files that are owned by custom users or groups, The <filename>useradd</filename> class supports recipes that restrict
you can use this class to specify those packages and associate the users and groups packages to certain users or groups.
with those packages. For example, if you have packages that install files that are owned
by custom users or groups, you can use this class to specify
those packages and then associate them with the users and groups.
The <filename>meta-skeleton/recipes-skeleton/useradd/useradd-example.bb</filename> The <filename>meta-skeleton/recipes-skeleton/useradd/useradd-example.bb</filename>
recipe in the <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink> recipe in the <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
provides a simple example that shows how to add three provides a simple example that shows how to add three
users and groups to two packages. users and groups to two packages.
See the <filename>useradd-example.bb</filename> for more information on how to See the <filename>useradd-example.bb</filename> recipe for more
use this class. information on how to use this class.
</para> </para>
</section> </section>