[OE-core] [PATCH] useradd.bbclass: do not let depend native packages on base-passwd from target

Richard Purdie richard.purdie at linuxfoundation.org
Thu Nov 17 09:56:47 UTC 2011


On Thu, 2011-11-17 at 10:48 +0100, Henning Heinold wrote:
> Signed-off-by: Henning Heinold <heinold at inf.fu-berlin.de>
> ---
>  meta/classes/useradd.bbclass |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
> index 928f619..245588b 100644
> --- a/meta/classes/useradd.bbclass
> +++ b/meta/classes/useradd.bbclass
> @@ -3,6 +3,7 @@
>  # and support files needed to add and modify user and group accounts
>  DEPENDS_append = "${USERADDDEPENDS}"
>  USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow"
> +USERADDDEPENDS_virtclass-native = ""
>  USERADDDEPENDS_virtclass-nativesdk = ""
>  
>  # This preinstall function will be run in two contexts: once for the


Do we also need to do this for:

SYSROOTFUNC = "useradd_sysroot"
SYSROOTFUNC_virtclass-nativesdk = ""

and

SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
SYSROOTPOSTFUNC_virtclass-nativesdk = ""

?

Cheers,

Richard





More information about the Openembedded-core mailing list