[OE-core] [PATCH v2] util-linux: Use PACKAGECONFIG to control pam and system config options
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Thu Jul 25 15:58:57 UTC 2013
Koen Kooi <koen-QLwJDigV5abLmq1fohREcCpxlwaOVQ5f at public.gmane.org>
writes:
> The ??= operator is too weak
> ...
> -PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
> +PACKAGECONFIG_class-target ?= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
> ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} "
good to see that I am not the only one hitting this problem. But does
there exist some explanation for this behavior? Lots of other packages
have
| PACKAGECONFIG ??=
and it seems to work there. It might be related to the '_class-target'
override but that's a nasty, unpredictable bug causing silent breakage.
Something like
| localconfig = ""
| localconfig_class-target = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}...
|
| PACKAGECONFIG ??= "${localconfig}"
and forbidding '??' in override-constructs might make things clearer.
Enrico
More information about the Openembedded-core
mailing list