summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-11 23:28:29 +0100
committerLennart Poettering <lennart@poettering.net>2018-12-12 10:09:36 +0100
commit06da5c63dd697ea4087e76c6d809b60b5780b87c (patch)
tree96f8bdc24a0f4155468534ebfbf065a116c81e96 /meson_options.txt
parentf7e81fd96fdfe0ac6dcdb72de43f7cb4720e363a (diff)
downloadsystemd-06da5c63dd697ea4087e76c6d809b60b5780b87c.tar.gz
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.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 62167ae92d..1423b8998e 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -156,6 +156,9 @@ option('compat-gateway-hostname', type : 'boolean', value : 'false',
option('default-hierarchy', type : 'combo',
choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
description : 'default cgroup hierarchy')
+option('default-net-naming-scheme', type : 'combo',
+ choices : ['latest', 'v238', 'v239', 'v240'],
+ description : 'default net.naming-scheme= value')
option('time-epoch', type : 'integer', value : '-1',
description : 'time epoch for time clients')
option('system-uid-max', type : 'integer', value : '-1',