<div dir="ltr">Sorry, in mut now.<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 September 2017 at 10:28, André Draszik <span dir="ltr">&lt;<a href="mailto:git@andred.net" target="_blank">git@andred.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, 2017-09-05 at 08:40 +0100, André Draszik wrote:<br>
&gt; On Mon, 2017-09-04 at 10:22 +0000, Peter Kjellerstedt wrote:<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; [...]<br>
&gt; &gt; &gt; diff --git a/meta/classes/useradd-<wbr>staticids.bbclass<br>
&gt; &gt; &gt; b/meta/classes/useradd-<wbr>staticids.bbclass<br>
&gt; &gt; &gt; index ce4ac62ab5..1b61a8bf9b 100644<br>
&gt; &gt; &gt; --- a/meta/classes/useradd-<wbr>staticids.bbclass<br>
&gt; &gt; &gt; +++ b/meta/classes/useradd-<wbr>staticids.bbclass<br>
&gt; &gt; &gt; @@ -102,7 +102,7 @@ def update_useradd_static_config(<wbr>d):<br>
&gt; &gt; &gt;              # So if the implicit username-group creation is on, then<br>
&gt; &gt; &gt; the implicit groupname (LOGIN)<br>
&gt; &gt; &gt;              # is used, and we disable the user_group option.<br>
&gt; &gt; &gt;              #<br>
&gt; &gt; &gt; -            user_group = uaargs.user_group is None or<br>
&gt; &gt; &gt; uaargs.user_group<br>
&gt; &gt; &gt; is True<br>
&gt; &gt; &gt; +            user_group = uaargs.gid is None or uaargs.user_group is<br>
&gt; &gt; &gt; True<br>
&gt; &gt;<br>
&gt; &gt; Hmm, I believe that should be:<br>
&gt; &gt;<br>
&gt; &gt;             user_group = uaargs.gid is None and uaargs.user_group is<br>
&gt; &gt; None<br>
&gt; &gt; or uaargs.user_group is True<br>
&gt; &gt;<br>
&gt; &gt; I.e., if neither --gid nor --user-group is specified, then it should <br>
&gt; &gt; treat it as if --user-group was specified.<br>
&gt;<br>
&gt; Hm, isn&#39;t this still the same as <br>
&gt;<br>
&gt; user_group = uaargs.gid is None or uaargs.user_group is True<br>
&gt;<br>
&gt; ? If neither --gid nor --user-group is specified, then gid is None, so it<br>
&gt; will do what you want already. IOW, unless the group name (gid) is<br>
&gt; specified, a username-group is being created.<br>
&gt;<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Andre&#39;<br>
&gt;<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>