On Mon, 2023-11-27 at 11:17 +0100, Alexander Kanavin wrote:
> Latest shadow-native links with additional libraries;
> I was unable to find a way to resolve those in setscene context
> where tasks do not contain such dependencies.
> 
> Signed-off-by: Alexander Kanavin <[email protected]>
> ---
>  meta/classes/useradd.bbclass | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
> index 4d3bd9a5f56..a35785c9c23 100644
> --- a/meta/classes/useradd.bbclass
> +++ b/meta/classes/useradd.bbclass
> @@ -179,7 +179,13 @@ SSTATEPREINSTFUNCS:append:class-target = " 
> useradd_sysroot_sstate"
>  
>  do_package_setscene[depends] += "${USERADDSETSCENEDEPS}"
>  do_populate_sysroot_setscene[depends] += "${USERADDSETSCENEDEPS}"
> -USERADDSETSCENEDEPS:class-target = 
> "${MLPREFIX}base-passwd:do_populate_sysroot_setscene 
> pseudo-native:do_populate_sysroot_setscene 
> shadow-native:do_populate_sysroot_setscene 
> ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene"
> +USERADDSETSCENEDEPS:class-target = 
> "${MLPREFIX}base-passwd:do_populate_sysroot_setscene \
> +                                    
> pseudo-native:do_populate_sysroot_setscene \
> +                                    
> shadow-native:do_populate_sysroot_setscene \
> +                                    attr-native:do_populate_sysroot_setscene 
> \
> +                                    
> libbsd-native:do_populate_sysroot_setscene \
> +                                    
> libmd-native:do_populate_sysroot_setscene \
> +                                    
> ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene"
>  USERADDSETSCENEDEPS = ""
>  
>  # Recipe parse-time sanity checks


FWIW I'm still leaning towards static linking for this. The setscence
dependencies are playing with fire and we *really* don't want to do
this :(

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#191292): 
https://lists.openembedded.org/g/openembedded-core/message/191292
Mute This Topic: https://lists.openembedded.org/mt/102826368/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to