[OE-core] [PATCH v3] useradd.bbclass: remove user/group created by the package in clean* task

Maxin B. John maxin.john at intel.com
Wed Apr 6 08:05:55 UTC 2016


On Tue, Apr 05, 2016 at 10:05:05PM +0100, Richard Purdie wrote:
> On Tue, 2016-04-05 at 20:44 +0300, Maxin B. John wrote:
> > At present, if a recipe is built which creates users/groups via
> > useradd.bbclass, those users/groups are not removed from sysroot
> > when the recipe/package is cleaned using clean/cleansstate/cleanall
> > or when a recipe is rebuild and 'unstaged' from the the sysroot.
> > 
> > The "userdel_sysroot_sstate()" provides that functionality.
> > 
> > [YOCTO #9262]
> > 
> > Signed-off-by: Maxin B. John <maxin.john at intel.com>
> > ---
> >  meta/classes/sstate.bbclass  |  6 ++++++
> >  meta/classes/useradd.bbclass | 26 ++++++++++++++++++++++++++
> >  2 files changed, 32 insertions(+)
> 
> This patch looks the same as v2? Did you see my second comment?

My aplogies. Haven't seen the second comment last time. Will resend the updated one.  

> Cheers,
> 
> Richard

Best Regards,
Maxin



More information about the Openembedded-core mailing list