mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Dold, Wolfram" <Wolfram.Dold@allegion.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Cc: "Dold, Wolfram" <Wolfram.Dold@allegion.com>
Subject: [ptxdist] [PATCH v2 1/2] rules: systemd: Change hardcoded polkit configure option
Date: Tue, 11 Dec 2018 15:34:17 +0000	[thread overview]
Message-ID: <20181211153405.18455-1-wolfram.dold@allegion.com> (raw)
In-Reply-To: <20181211074340.kwsvscthjbs4ke2z@pengutronix.de>

For the polkit framework to work at all, you have to enable polkit in
systemd via the configure option.

Signed-off-by: Wolfram Dold <wolfram.dold@allegion.com>
---
 rules/systemd.in   | 3 +++
 rules/systemd.make | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/rules/systemd.in b/rules/systemd.in
index 29d7bf2b9..5caa75e08 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -112,6 +112,9 @@ config SYSTEMD_SECCOMP
 	help
 	  Enable this if you want to use SystemCallFilter in service files
 
+config SYSTEMD_POLKIT
+        bool
+        default POLKIT_SYSTEMD
 
 menu "journald                    "
 
diff --git a/rules/systemd.make b/rules/systemd.make
index 5d3836b64..a4f5139e4 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -111,7 +111,7 @@ SYSTEMD_CONF_OPT	:= \
 	-Dmount-path=/usr/bin/mount \
 	-Dmyhostname=true \
 	-Dnetworkd=$(call ptx/truefalse,PTXCONF_SYSTEMD_NETWORK) \
-	-Dnobody-group=nogroup \
+	-Dnobody-group=nobody \
 	-Dnobody-user=nobody \
 	-Dnss-systemd=true \
 	-Dntp-servers= \
@@ -119,7 +119,7 @@ SYSTEMD_CONF_OPT	:= \
 	-Doss-fuzz=false \
 	-Dpam=false \
 	-Dpcre2=false \
-	-Dpolkit=false \
+	-Dpolkit=$(call ptx/truefalse, PTXCONF_SYSTEMD_POLKIT) \
 	-Dportabled=false \
 	-Dqrencode=false \
 	-Dquotacheck=true \
-- 
2.17.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-12-11 15:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-10 14:18 [ptxdist] [PATCH 1/2] rules: polkit: Fix incorrect installation path Dold, Wolfram
2018-12-10 14:18 ` [ptxdist] [PATCH 2/2] rules: systemd: Change hardcoded polkit configure option Dold, Wolfram
2018-12-11  7:43   ` Michael Olbrich
2018-12-11 15:34     ` Dold, Wolfram [this message]
2018-12-11  7:41 ` [ptxdist] [PATCH 1/2] rules: polkit: Fix incorrect installation path Michael Olbrich
2018-12-11 15:34   ` [ptxdist] [PATCH v2 2/2] patches/polkit-0.105: Ubuntu polkit patches Dold, Wolfram
2018-12-17  8:26   ` [ptxdist] (no subject) Dold, Wolfram
2018-12-17  8:26     ` [ptxdist] [PATCH v2 2/2] patches/polkit-0.105: Ubuntu polkit patches Dold, Wolfram
2018-12-17  9:19     ` Dold, Wolfram
2018-12-17 10:53     ` Dold, Wolfram
2018-12-22 13:19 ` [ptxdist] [PATCH v3 0/3] polkit debian patches Baeuerle, Florian
2018-12-22 13:19   ` [ptxdist] [PATCH v3 1/3] polkit: add " Baeuerle, Florian
2019-01-16  9:36     ` Baeuerle, Florian
2019-01-17  8:58       ` m.olbrich
2019-01-17 10:01         ` Baeuerle, Florian
2019-01-17 13:48           ` Michael Olbrich
2018-12-22 13:19   ` [ptxdist] [PATCH v3 2/3] polkit: add patch from upstream Baeuerle, Florian
2018-12-22 13:19   ` [ptxdist] [PATCH v3 3/3] systemd: enable POLKIT support if polkit is selected Baeuerle, Florian

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=20181211153405.18455-1-wolfram.dold@allegion.com \
    --to=wolfram.dold@allegion.com \
    --cc=ptxdist@pengutronix.de \
    /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