[oe] [meta-oe][RFC 19/27] polkit: conditional DEPEND systemd
Martin Jansa
martin.jansa at gmail.com
Tue Feb 7 15:35:26 UTC 2012
On Tue, Feb 07, 2012 at 04:12:45PM +0100, Andreas Müller wrote:
>
> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> ---
> .../recipes-extended/polkit/polkit_0.104.bbappend | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
> create mode 100644 meta-oe/recipes-extended/polkit/polkit_0.104.bbappend
>
> diff --git a/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend
> new file mode 100644
> index 0000000..f521183
> --- /dev/null
> +++ b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend
> @@ -0,0 +1,5 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> +
> +DEPENDS += "${@base_conditional('INIT_MANAGER', 'systemd', 'systemd', '', d)}"
With this please force systemd support enabled/disabled
EXTRA_OECONF += " ${@base_conditional('INIT_MANAGER', 'systemd', '--enable-systemd', '--disable-systemd', d)}"
Or even better use PACKAGECONFIG and initialize it wrt INIT_MANAGER.
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120207/bbba1cdc/attachment-0002.sig>
More information about the Openembedded-devel
mailing list