All of lore.kernel.org
 help / color / mirror / Atom feed
* Handling of users in multiple recipes.
@ 2017-04-14 16:49 Davis, Michael
  2017-04-14 17:52 ` Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: Davis, Michael @ 2017-04-14 16:49 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

I have a user that is added in a recipe using inherit useradd.
Previously in Morty I was able to include that recipe as a dependency to other recipes and chown files to that user during do_install.
In checking at master in prep for 2.3 I noticed those recipes no longer work stating the user is invalid.

Is there a new mechanism in place to handle this use case or am I going to have to find some sort of other work around?

Thanks,
Mike




[-- Attachment #2: Type: text/html, Size: 2499 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Handling of users in multiple recipes.
  2017-04-14 16:49 Handling of users in multiple recipes Davis, Michael
@ 2017-04-14 17:52 ` Mark Hatle
  2017-04-14 18:20   ` Leonardo Sandoval
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2017-04-14 17:52 UTC (permalink / raw)
  To: openembedded-core

On 4/14/17 11:49 AM, Davis, Michael wrote:
> I have a user that is added in a recipe using inherit useradd.
> 
> Previously in Morty I was able to include that recipe as a dependency to other
> recipes and chown files to that user during do_install.
> 
> In checking at master in prep for 2.3 I noticed those recipes no longer work
> stating the user is invalid.
> 

A patch for this issue was added yesterday to oe-core.  I'm not sure if it has
been merged to master, but should be soon if it has not already been.

Search the list archives for "base-passwd/useradd: Various improvements to
useradd with RSS".

--Mark

> 
> Is there a new mechanism in place to handle this use case or am I going to have
> to find some sort of other work around?
> 
>  
> 
> Thanks,
> 
> Mike
> 
>  
> 
>  
> 
>  
> 
> 
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Handling of users in multiple recipes.
  2017-04-14 17:52 ` Mark Hatle
@ 2017-04-14 18:20   ` Leonardo Sandoval
  0 siblings, 0 replies; 3+ messages in thread
From: Leonardo Sandoval @ 2017-04-14 18:20 UTC (permalink / raw)
  To: Mark Hatle; +Cc: openembedded-core

On Fri, 2017-04-14 at 12:52 -0500, Mark Hatle wrote:
> On 4/14/17 11:49 AM, Davis, Michael wrote:
> > I have a user that is added in a recipe using inherit useradd.
> > 
> > Previously in Morty I was able to include that recipe as a dependency to other
> > recipes and chown files to that user during do_install.
> > 
> > In checking at master in prep for 2.3 I noticed those recipes no longer work
> > stating the user is invalid.
> > 
> 
> A patch for this issue was added yesterday to oe-core.  I'm not sure if it has
> been merged to master, but should be soon if it has not already been.
> 
> Search the list archives for "base-passwd/useradd: Various improvements to
> useradd with RSS".

Right, in the other hand, the scenario  you are indicating is basically
the same as described in bug 7724
(https://bugzilla.yoctoproject.org/show_bug.cgi?id=7724)

and confirmed that the patch worked.

Leo



> 
> --Mark
> 
> > 
> > Is there a new mechanism in place to handle this use case or am I going to have
> > to find some sort of other work around?
> > 
> >  
> > 
> > Thanks,
> > 
> > Mike
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-14 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14 16:49 Handling of users in multiple recipes Davis, Michael
2017-04-14 17:52 ` Mark Hatle
2017-04-14 18:20   ` Leonardo Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.