Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next v2 4/4] package/polkit: enable systemd login support
Date: Mon, 25 Nov 2019 15:30:52 +0100	[thread overview]
Message-ID: <20191125153052.7d572940@windsurf> (raw)
In-Reply-To: <20191124214823.2570598-5-aduskett@gmail.com>

On Sun, 24 Nov 2019 13:48:23 -0800
aduskett at gmail.com wrote:

> From: Adam Duskett <Aduskett@gmail.com>
> 
> If systemd-logind is selected, enable libsystemd-login support.
> 
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
>  package/polkit/polkit.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
> index 4135a64d6b..5e04c0908c 100644
> --- a/package/polkit/polkit.mk
> +++ b/package/polkit/polkit.mk
> @@ -26,4 +26,10 @@ else
>  POLKIT_CONF_OPTS += --with-authfw=shadow
>  endif
>  
> +ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
> +POLKIT_DEPENDENCIES += systemd
> +POLKIT_CONF_OPTS += \
> +	--enable-libsystemd-login=yes

Just --enable-libsystemd-login, and then have an else clause with
--disable-libsystemd-login (and drop if from the unconditional
POLKIT_CONF_OPTS assignment).

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2019-11-25 14:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-24 21:48 [Buildroot] [PATCH/next v2 0/4] spidermonkey: new package aduskett at gmail.com
2019-11-24 21:48 ` [Buildroot] [PATCH/next v2 1/4] " aduskett at gmail.com
2019-11-25 14:28   ` Thomas Petazzoni
2019-11-24 21:48 ` [Buildroot] [PATCH/next v2 2/4] package/polkit: bump to version 0.116 aduskett at gmail.com
2019-11-25 14:30   ` Thomas Petazzoni
2019-11-24 21:48 ` [Buildroot] [PATCH/next v2 3/4] package/polkit: support different authentication frameworks aduskett at gmail.com
2019-11-24 21:48 ` [Buildroot] [PATCH/next v2 4/4] package/polkit: enable systemd login support aduskett at gmail.com
2019-11-25 14:30   ` Thomas Petazzoni [this message]

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=20191125153052.7d572940@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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