Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Andreas Müller
On Thu, May 2, 2013 at 6:40 PM, Andreas Müller wrote: > On Thu, May 2, 2013 at 5:53 PM, Mark Hatle wrote: >>> [andreas@oe-core]$ bitbake -e gdm | grep ^PSEUDO_PASSWD >>> PSEUDO_PASSWD="/home/andreas/tmp/oe-core-eglibc/sysroots/overo" >> >> >> Check that path contains 'etc/passwd' and 'etc/group'.

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Andreas Müller
On Thu, May 2, 2013 at 5:53 PM, Mark Hatle wrote: > On 5/2/13 10:31 AM, Andreas Müller wrote: >> >> On Thu, May 2, 2013 at 5:18 PM, Andreas Müller >> wrote: >>> >>> On Thu, May 2, 2013 at 5:09 PM, Mark Hatle >>> wrote: On 5/2/13 9:55 AM, Andreas Müller wrote: > > > On Thu,

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 10:31 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 5:18 PM, Andreas Müller wrote: On Thu, May 2, 2013 at 5:09 PM, Mark Hatle wrote: On 5/2/13 9:55 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 4:50 PM, Mark Hatle wrote: On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thurs

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 10:18 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 5:09 PM, Mark Hatle wrote: On 5/2/13 9:55 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 4:50 PM, Mark Hatle wrote: On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: On 5/2/13

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Andreas Müller
On Thu, May 2, 2013 at 5:18 PM, Andreas Müller wrote: > On Thu, May 2, 2013 at 5:09 PM, Mark Hatle wrote: >> On 5/2/13 9:55 AM, Andreas Müller wrote: >>> >>> On Thu, May 2, 2013 at 4:50 PM, Mark Hatle >>> wrote: On 5/2/13 9:34 AM, Paul Eggleton wrote: > > > On Thursday 02 M

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Andreas Müller
On Thu, May 2, 2013 at 5:09 PM, Mark Hatle wrote: > On 5/2/13 9:55 AM, Andreas Müller wrote: >> >> On Thu, May 2, 2013 at 4:50 PM, Mark Hatle >> wrote: >>> >>> On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: > > > On 5/2/13 2:4

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 9:55 AM, Andreas Müller wrote: On Thu, May 2, 2013 at 4:50 PM, Mark Hatle wrote: On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: On 5/2/13 2:49 AM, Andreas Müller wrote: on one of my build machines useradd.bbclass seem to use the UID/GI

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Richard Purdie
On Thu, 2013-05-02 at 09:50 -0500, Mark Hatle wrote: > On 5/2/13 9:34 AM, Paul Eggleton wrote: > > On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: > >> On 5/2/13 2:49 AM, Andreas Müller wrote: > >>> on one of my build machines useradd.bbclass seem to use the UID/GID of > >>> build host. On other

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Andreas Müller
On Thu, May 2, 2013 at 4:50 PM, Mark Hatle wrote: > On 5/2/13 9:34 AM, Paul Eggleton wrote: >> >> On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: >>> >>> On 5/2/13 2:49 AM, Andreas Müller wrote: on one of my build machines useradd.bbclass seem to use the UID/GID of build host. On

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Paul Eggleton
On Thursday 02 May 2013 15:49:39 Richard Purdie wrote: > On Thu, 2013-05-02 at 15:34 +0100, Paul Eggleton wrote: > > Right, do_install will be well before this stuff happens and it is not a > > fakeroot task anyway. This needs to be moved to a postinstall script > > (which > > should be able to run

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 9:34 AM, Paul Eggleton wrote: On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: On 5/2/13 2:49 AM, Andreas Müller wrote: on one of my build machines useradd.bbclass seem to use the UID/GID of build host. On other machines useradd works correct. I have the follwing in gdm: do_insta

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Richard Purdie
On Thu, 2013-05-02 at 15:34 +0100, Paul Eggleton wrote: > On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: > > On 5/2/13 2:49 AM, Andreas Müller wrote: > > > on one of my build machines useradd.bbclass seem to use the UID/GID of > > > build host. On other machines useradd works correct. > > > >

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Andreas Müller
On Thu, May 2, 2013 at 4:34 PM, Paul Eggleton wrote: > On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: >> On 5/2/13 2:49 AM, Andreas Müller wrote: >> > on one of my build machines useradd.bbclass seem to use the UID/GID of >> > build host. On other machines useradd works correct. >> > >> > I ha

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Paul Eggleton
On Thursday 02 May 2013 08:35:55 Mark Hatle wrote: > On 5/2/13 2:49 AM, Andreas Müller wrote: > > on one of my build machines useradd.bbclass seem to use the UID/GID of > > build host. On other machines useradd works correct. > > > > I have the follwing in gdm: > > > > > > do_install_append() {

Re: [OE-core] useradd.bbclass question

2013-05-02 Thread Mark Hatle
On 5/2/13 2:49 AM, Andreas Müller wrote: Hi, on one of my build machines useradd.bbclass seem to use the UID/GID of build host. On other machines useradd works correct. I have the follwing in gdm: do_install_append() { ... chown -R gdm:gdm ${D}${localstatedir}/lib/gdm chmod 075

[OE-core] useradd.bbclass question

2013-05-02 Thread Andreas Müller
Hi, on one of my build machines useradd.bbclass seem to use the UID/GID of build host. On other machines useradd works correct. I have the follwing in gdm: do_install_append() { ... chown -R gdm:gdm ${D}${localstatedir}/lib/gdm chmod 0750 ${D}${localstatedir}/lib/gdm } ... USERADD