From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: openembedded-core@lists.openembedded.org
Cc: Saul Wold <sgw-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Subject: Re: [PATCH v2] util-linux: Use PACKAGECONFIG to control pam and system config options
Date: Wed, 10 Jul 2013 18:26:22 +0200 [thread overview]
Message-ID: <lysizmmle9.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: <1373325035-29814-1-git-send-email-sgw@linux.intel.com> (Saul Wold's message of "Mon, 8 Jul 2013 16:10:35 -0700")
Saul Wold <sgw-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> writes:
> The PACKAGECONFIG will ensure consistent enabling and disabling of the pam and systemd related
> options for configure and the correct dependencies
>
> v2: fixed PACKAGECONFIG line continuation grammar
> added _class-target for PACKAGECONFIG to work on target only
> ...
> +PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} "
This does not work here. d.getVar('PACKAGECONFIG', True) evaluates to 'None'
in the anonymous python function in base.bbclass so that non-systemd options
are selected in systemd distributions and packaging fails in a sanity check.
Using the less weak '?=' operator makes thing work as expected.
Enrico
next prev parent reply other threads:[~2013-07-10 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-08 23:10 [PATCH v2] util-linux: Use PACKAGECONFIG to control pam and system config options Saul Wold
2013-07-10 16:26 ` Enrico Scholz [this message]
2013-07-25 12:58 ` Koen Kooi
2013-07-25 13:02 ` Koen Kooi
2013-07-25 14:17 ` Saul Wold
2013-07-25 15:58 ` Enrico Scholz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lysizmmle9.fsf@ensc-virt.intern.sigma-chemnitz.de \
--to=enrico.scholz@sigma-chemnitz.de \
--cc=openembedded-core@lists.openembedded.org \
--cc=sgw-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox