mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v3 4/5] networkmanager: Make "more logging" optional
Date: Wed, 23 Jun 2021 09:33:08 +0200	[thread overview]
Message-ID: <20210623073309.23058-5-ada@thorsis.com> (raw)
In-Reply-To: <20210623073309.23058-1-ada@thorsis.com>

With build option "more_logging" set to false, it's not possible to
enable loglevel "debug" in /etc/NetworkManager/NetworkManager.conf

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/networkmanager.in   | 6 ++++++
 rules/networkmanager.make | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/rules/networkmanager.in b/rules/networkmanager.in
index 6c68d40cc..dae60a0c8 100644
--- a/rules/networkmanager.in
+++ b/rules/networkmanager.in
@@ -104,6 +104,12 @@ config NETWORKMANAGER_POLKIT
 	bool
 	prompt "polkit support"
 
+config NETWORKMANAGER_MORE_LOGGING
+	bool
+	prompt "more logging"
+	help
+	  Allows debug log level in NetworkManager.conf
+
 endif
 
 menu "networkmanager plugins        "
diff --git a/rules/networkmanager.make b/rules/networkmanager.make
index c39179f5b..022ed7178 100644
--- a/rules/networkmanager.make
+++ b/rules/networkmanager.make
@@ -64,7 +64,7 @@ NETWORKMANAGER_CONF_OPT = \
 	-Dmodem_manager=$(call ptx/truefalse,PTXCONF_NETWORKMANAGER_WWAN) \
 	-Dmodify_system=false \
 	-Dmore_asserts=no \
-	-Dmore_logging=false \
+	-Dmore_logging=$(call ptx/truefalse,PTXCONF_NETWORKMANAGER_MORE_LOGGING) \
 	-Dnetconfig=false \
 	-Dnm_cloud_setup=false \
 	-Dnmcli=$(call ptx/truefalse,PTXCONF_NETWORKMANAGER_NMCLI) \
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  parent reply	other threads:[~2021-06-23  7:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  7:33 [ptxdist] [PATCH v3 0/5] mobile broadband software version bump Alexander Dahl
2021-06-23  7:33 ` [ptxdist] [PATCH v3 1/5] libqmi: version bump 1.28.2 -> 1.28.6 Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-23  7:33 ` [ptxdist] [PATCH v3 2/5] modemmanager: version bump 1.16.2 -> 1.16.6 Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-23  7:33 ` [ptxdist] [PATCH v3 3/5] networkmanager: version bump 1.26.2 -> 1.30.4 Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-23  7:33 ` Alexander Dahl [this message]
2021-06-29  5:09   ` [ptxdist] [APPLIED] networkmanager: Make "more logging" optional Michael Olbrich
2021-06-23  7:33 ` [ptxdist] [PATCH v3 5/5] ppp: version bump 2.4.7 -> 2.4.9 Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich

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=20210623073309.23058-5-ada@thorsis.com \
    --to=ada@thorsis.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