Thanks, applied as fe852c3f4dc34d2e11c641092d19de0d2b3bd5fa.

Michael

[sent from post-receive hook]

On Tue, 29 Jun 2021 07:09:34 +0200, Alexander Dahl <[email protected]> wrote:
> 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 <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/networkmanager.in b/rules/networkmanager.in
> index 6c68d40cc2d6..dae60a0c8d42 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 c39179f5b5d3..022ed7178997 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) \

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to