From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 23 Jun 2021 09:34:20 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lvxOu-0007VU-37 for lore@lore.pengutronix.de; Wed, 23 Jun 2021 09:34:20 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lvxOt-0005Yw-IQ; Wed, 23 Jun 2021 09:34:19 +0200 Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvxNs-0005GA-6O for ptxdist@pengutronix.de; Wed, 23 Jun 2021 09:33:16 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 41E2CDF1 for ; Wed, 23 Jun 2021 09:33:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sEFRD8hRBBei for ; Wed, 23 Jun 2021 09:33:15 +0200 (CEST) Received: by mail.thorsis.com (Postfix, from userid 109) id 134FB358B; Wed, 23 Jun 2021 09:33:15 +0200 (CEST) Received: from adahl by ada.ifak-system.com with local (Exim 4.92) (envelope-from ) id 1lvxNl-00060s-An for ptxdist@pengutronix.de; Wed, 23 Jun 2021 09:33:09 +0200 From: Alexander Dahl To: ptxdist@pengutronix.de Date: Wed, 23 Jun 2021 09:33:08 +0200 Message-Id: <20210623073309.23058-5-ada@thorsis.com> In-Reply-To: <20210623073309.23058-1-ada@thorsis.com> References: <20210623073309.23058-1-ada@thorsis.com> X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v3 4/5] networkmanager: Make "more logging" optional X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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 --- 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