Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-14 Thread Richard Purdie
On Thu, 2016-04-14 at 11:46 +, Peter Kjellerstedt wrote: > Ok, this looks like a good start for me to continue working on. > > What is the easiest way to execute the useradd selftest? oe-selftest --run-tests useradd.Useradd.test_useradd Cheers, Richard --

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-14 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > Sent: den 14 april 2016 12:41 > To: Peter Kjellerstedt; Otavio Salvador > Cc: OE Core (openembedded-core@lists.openembedded.org) > Subject: Re: [OE-core] [PATCHv2 1/1] Revert "

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-14 Thread Richard Purdie
On Wed, 2016-04-13 at 17:29 +0100, Richard Purdie wrote: > There is a comparatively neat way we could use pkgdata to track the > provider of a given user, specifically: > > http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/w > ip > =5cd646ea185eaafaa341f26310f2eddc75766175 > >

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-13 Thread Richard Purdie
ed-core@lists.openembedded.org) > > Subject: Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: > > remove > > user/group created by the package in clean* task" > > > > I am pretty frustrated with this thread. The reasons are perhaps > > not > &g

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-13 Thread Maxin B. John
Cc: OE Core (openembedded-core@lists.openembedded.org) > > Subject: Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove > > user/group created by the package in clean* task" > > > > I am pretty frustrated with this thread. The reasons are perhaps not > >

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-13 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > Sent: den 13 april 2016 13:05 > To: Peter Kjellerstedt; Otavio Salvador > Cc: OE Core (openembedded-core@lists.openembedded.org) > Subject: Re: [OE-core] [PATCHv2 1/1] Revert "

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-13 Thread Richard Purdie
I am pretty frustrated with this thread. The reasons are perhaps not immediately obvious though. The issue is that there are only a limited number of people who actually dive in and try and fix some of the underlying "core architecture" bugs. There is what I believe to be a pretty good patch here

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-12 Thread Peter Kjellerstedt
> -Original Message- > From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br] > Sent: den 12 april 2016 18:36 > To: Richard Purdie > Cc: Peter Kjellerstedt; Patches and discussions about the oe-core layer > Subject: Re: [OE-core] [PATCHv2 1/1] Revert "

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-12 Thread Otavio Salvador
On Tue, Apr 12, 2016 at 11:54 AM, Richard Purdie wrote: > On Tue, 2016-04-12 at 15:18 +0200, Peter Kjellerstedt wrote: >> Removal of users/group when cleansstating a recipe as implemented >> here >> totally breaks when multiple recipes install the same

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-12 Thread Richard Purdie
On Tue, 2016-04-12 at 15:18 +0200, Peter Kjellerstedt wrote: > Removal of users/group when cleansstating a recipe as implemented > here > totally breaks when multiple recipes install the same user/groups. > > This reverts commit b5304ce438666a7418746f4ddd32703ae3188089. > > Signed-off-by: Peter

Re: [OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-12 Thread Otavio Salvador
On Tue, Apr 12, 2016 at 10:18 AM, Peter Kjellerstedt wrote: > Removal of users/group when cleansstating a recipe as implemented here > totally breaks when multiple recipes install the same user/groups. > > This reverts commit b5304ce438666a7418746f4ddd32703ae3188089.

[OE-core] [PATCHv2 1/1] Revert "useradd.bbclass: remove user/group created by the package in clean* task"

2016-04-12 Thread Peter Kjellerstedt
Removal of users/group when cleansstating a recipe as implemented here totally breaks when multiple recipes install the same user/groups. This reverts commit b5304ce438666a7418746f4ddd32703ae3188089. Signed-off-by: Peter Kjellerstedt --- meta/classes/sstate.bbclass