<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/useradd.bbclass, branch master</title>
<subtitle></subtitle>
<id>https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master</id>
<link rel='self' href='https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/'/>
<updated>2012-04-16T11:51:19Z</updated>
<entry>
<title>Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...</title>
<updated>2012-04-16T11:51:19Z</updated>
<author>
<name>Zhai Edwin</name>
<email>edwin.zhai@intel.com</email>
</author>
<published>2012-04-16T06:50:00Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=380efadd5640e5b57e710549b1ae761d0d3b3792'/>
<id>urn:sha1:380efadd5640e5b57e710549b1ae761d0d3b3792</id>
<content type='text'>
MLPREFIX is needed in RDEPENDS for multilib build

Signed-off-by: Zhai Edwin &lt;edwin.zhai@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd.bbclass: retry useradd/groupadd commands to avoid lock race issues</title>
<updated>2012-03-23T12:03:31Z</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2012-03-23T04:43:42Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=68c589f1b5ee36f0aff151b728447ffdae14622c'/>
<id>urn:sha1:68c589f1b5ee36f0aff151b728447ffdae14622c</id>
<content type='text'>
A race condition can occur when adding users and groups to the
passwd and group files, causing errors like the following:

 ERROR: Function 'useradd_sysroot' failed
 Tried to access "/etc/group" but this was locked.

This fix will cause the useradd code to retry the useradd and
groupadd commands up to 10 times (with a 1s sleep in between
attempts) before failing.

This fixes [YOCTO #1794]

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow-sysroot: Fix for multilib</title>
<updated>2012-03-08T19:49:47Z</updated>
<author>
<name>Zhai Edwin</name>
<email>edwin.zhai@intel.com</email>
</author>
<published>2012-03-06T17:03:17Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=5de2c22fb42c12783abc090a81f10db9eb39732f'/>
<id>urn:sha1:5de2c22fb42c12783abc090a81f10db9eb39732f</id>
<content type='text'>
Fix following error in multilib build:
"ERROR: Task do_package_setscene depends upon nonexistant task
poky/meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb:do_populate_sysroot_setscene"

&gt;From richard.purdie@linuxfoundation.org

Signed-off-by: Zhai Edwin &lt;edwin.zhai@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages</title>
<updated>2012-02-24T23:24:55Z</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2012-02-24T20:50:54Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=5650eb44ea28c87f2f87ea3c5a557b9f08d58775'/>
<id>urn:sha1:5650eb44ea28c87f2f87ea3c5a557b9f08d58775</id>
<content type='text'>
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd.bbclass: skip processing on virtclass-cross extended packages</title>
<updated>2012-02-10T13:36:55Z</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2012-02-07T18:25:36Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=4308acbbd43e6b8b37123d95df6675233007dae4'/>
<id>urn:sha1:4308acbbd43e6b8b37123d95df6675233007dae4</id>
<content type='text'>
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>useradd.bbclass: Fix missing quote</title>
<updated>2012-01-27T23:57:33Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-01-27T23:57:33Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=d7b13cd42ab8d5f44f97e119b73ec2e363677d26'/>
<id>urn:sha1:d7b13cd42ab8d5f44f97e119b73ec2e363677d26</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd: Ensure dependencies are only added for target recipes, not native or nativesdk</title>
<updated>2012-01-27T16:59:37Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-01-27T16:59:37Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=63d006b2d3fc2223c74f81b91f70f5c841108c80'/>
<id>urn:sha1:63d006b2d3fc2223c74f81b91f70f5c841108c80</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd.bbclass: Add explict setscene dependencies to ensure correct ordering of setscene tasks</title>
<updated>2012-01-27T09:42:37Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-01-26T19:13:07Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51'/>
<id>urn:sha1:ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd.bbclass: Ensure pseudo can load in the pseudo unloaded case</title>
<updated>2012-01-27T09:38:45Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-01-26T12:51:04Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=76345cd61c9523ce6755ef8e923dec37800b7a98'/>
<id>urn:sha1:76345cd61c9523ce6755ef8e923dec37800b7a98</id>
<content type='text'>
In the do_populate_sysroot_setscene case, pseudo has been unloaded and we need
to reload it. This code change ensures all the pseudo options are specified
so pseudo loads correctly.

It also improves some of the comments so all the different contexts are listed.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd.bbclass: Execute user addition code before do_package_setscene, not after do_populate_sysroot_setscene</title>
<updated>2012-01-27T09:38:34Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-01-26T14:41:51Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=34282c1b996ef008384af456735692d66ddabc13'/>
<id>urn:sha1:34282c1b996ef008384af456735692d66ddabc13</id>
<content type='text'>
The user addition needs to happen before the do_package files are extracted
by do_package_setscene since those are the ones we need to preserve the file
ownership information for. This patch ensures this happens.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
