]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
meson: make net.naming-scheme= default configurable
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Dec 2018 22:28:29 +0000 (23:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Dec 2018 09:09:36 +0000 (10:09 +0100)
commit06da5c63dd697ea4087e76c6d809b60b5780b87c
tree96f8bdc24a0f4155468534ebfbf065a116c81e96
parentf7e81fd96fdfe0ac6dcdb72de43f7cb4720e363a
meson: make net.naming-scheme= default configurable

This is useful for distributions, where the stability of interface names should
be preseved after an upgrade of systemd. So when some specific release of the
distro is made available, systemd defaults to the latest & greatest naming
scheme, and subsequent updates set the same default. This default may still
be overriden through the kernel and env var options.

A special value "latest" is also allowed. Without a specific name, it is harder
to verride from meson. In case of 'combo' options, meson reads the default
during the initial configuration, and "remembers" this choice. When systemd is
updated, old build/ directories could keep the old default, which would be
annoying. Hence, "latest" is introduced to make it explicit, yet follow the
upstream. This is actually useful for the user too, because it may be used
as an override, without having to actually specify a version.
docs/ENVIRONMENT.md
man/systemd-udevd.service.xml
meson.build
meson_options.txt
src/udev/udev-builtin-net_id.c