From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] systemd: make default-net-naming-scheme configurable
Date: Wed, 8 Feb 2023 12:49:26 +0100 [thread overview]
Message-ID: <20230208114926.2007767-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230110153021.1839663-1-m.tretter@pengutronix.de>
Thanks, applied as fe8c95898dfc49232eb75a98a383668dc056ffef.
Michael
[sent from post-receive hook]
On Wed, 08 Feb 2023 12:49:26 +0100, Michael Tretter <m.tretter@pengutronix.de> wrote:
> The default-net-naming-scheme parameter allows to preserve the naming
> scheme of a previous systemd version on a newer version. It may be
> necessary to preserve a naming scheme if other system components rely on
> certain network interface names generated by some naming scheme.
>
> The default is "latest" to use the naming scheme of the currently used
> systemd version.
>
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> Message-Id: <20230110153021.1839663-1-m.tretter@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/systemd.in b/rules/systemd.in
> index 0818bf535866..17997574b62e 100644
> --- a/rules/systemd.in
> +++ b/rules/systemd.in
> @@ -158,6 +158,14 @@ config SYSTEMD_NSPAWN
> bool
> prompt "install systemd-nspawn"
>
> +config SYSTEMD_DEFAULT_NET_NAMING_SCHEME
> + string
> + prompt "default net.naming-scheme= value"
> + default "latest"
> + help
> + Preserve the naming scheme for network interfaces of the given
> + systemd version.
> +
> menu "journald "
>
> config SYSTEMD_XZ
> diff --git a/rules/systemd.make b/rules/systemd.make
> index e5a6b26a5c55..69b044bb8123 100644
> --- a/rules/systemd.make
> +++ b/rules/systemd.make
> @@ -78,7 +78,7 @@ SYSTEMD_CONF_OPT := \
> -Ddefault-llmnr=yes \
> -Ddefault-locale=C \
> -Ddefault-mdns=yes \
> - -Ddefault-net-naming-scheme=latest \
> + -Ddefault-net-naming-scheme=$(call remove_quotes,$(PTXCONF_SYSTEMD_DEFAULT_NET_NAMING_SCHEME)) \
> -Ddev-kvm-mode=0660 \
> -Ddns-over-tls=false \
> -Ddns-servers= \
prev parent reply other threads:[~2023-02-08 11:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-10 15:30 [ptxdist] [PATCH] " Michael Tretter
2023-02-08 11:49 ` Michael Olbrich [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=20230208114926.2007767-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=m.tretter@pengutronix.de \
--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