mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-18 06:03:42 +03:00
meson: allow oomd to be enabled even in release mode
A distro (Fedora in particular) may want to enable oomd in a unstable branch for testing, even though the package as a whole is compiled in release mode. Let's emit a warning but otherwise allow this.
This commit is contained in:
parent
141fdc8ada
commit
08c1864f0d
12
NEWS
12
NEWS
@ -530,13 +530,15 @@ CHANGES WITH 247 in spe:
|
||||
contention for selected parts of the unit hierarchy using the PSI
|
||||
information reported by the kernel, and kills processes when memory
|
||||
or swap pressure is above configured limits. This service is only
|
||||
enabled in developer mode (see below) and should be considered a
|
||||
preview in this release. Behaviour details and option names are
|
||||
subject to change without the usual backwards-compatibility promises.
|
||||
enabled by default in developer mode (see below) and should be
|
||||
considered a preview in this release. Behaviour details and option
|
||||
names are subject to change without the usual backwards-compatibility
|
||||
promises.
|
||||
|
||||
* A new helper oomctl has been added to introspect systemd-oomd state.
|
||||
If also is only available in developer mode and should be considered
|
||||
a preview without the usual backwards-compatibility promises.
|
||||
If also is only enabled by default in developer mode and should be
|
||||
considered a preview without the usual backwards-compatibility
|
||||
promises.
|
||||
|
||||
* New meson option -Dcompat-mutable-uid-boundaries= has been added. If
|
||||
enabled, systemd reads the system UID boundaries from /etc/login.defs
|
||||
|
@ -1419,7 +1419,7 @@ if have == 'auto'
|
||||
else
|
||||
have = have == 'true'
|
||||
if have and get_option('mode') != 'developer'
|
||||
error('oomd is not available in release mode (yet)')
|
||||
warning('oomd is not ready for release mode (yet)')
|
||||
endif
|
||||
endif
|
||||
conf.set10('ENABLE_OOMD', have)
|
||||
|
Loading…
x
Reference in New Issue
Block a user