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

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 5 21:05:05 UTC 2016


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?

Cheers,

Richard



More information about the Openembedded-core mailing list