[yocto] setting groups and users other than root

Khem Raj raj.khem at gmail.com
Wed Jul 5 22:01:05 PDT 2017


On Wed, Jul 5, 2017 at 8:28 PM, sourabh banerjee <droid.baner at gmail.com> wrote:
> I have observed that the group and user default to root for unless I do
> explicit chown and chgrp in the do_install step for a given recipe.
>
> I have few recipes for which the group and user are to be set to something
> other than root. Is there a way to achieve this? Such that the user and
> group default to something else for these given recipes?
>

you can achieve it via already defined abstraction. Please read
http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#ref-classes-useradd

>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list