meson: disable systemd-oomd by default

systemd-oomd can be enabled when in developer mode (-Dmode=developer)
This commit is contained in:
Anita Zhang
2020-10-14 23:14:24 -07:00
parent cf3e57884e
commit c199dd3fd7
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1410,6 +1410,9 @@ conf.set10('ENABLE_HOMED', have)
have = have and conf.get('HAVE_PAM') == 1
conf.set10('ENABLE_PAM_HOME', have)
have = get_option('oomd') and get_option('mode') == 'developer'
conf.set10('ENABLE_OOMD', have)
want_remote = get_option('remote')
if want_remote != 'false'
have_deps = [conf.get('HAVE_MICROHTTPD') == 1,
+1 -1
View File
@@ -97,7 +97,7 @@ option('coredump', type : 'boolean',
description : 'install the coredump handler')
option('pstore', type : 'boolean',
description : 'install the pstore archival tool')
option('oomd', type : 'boolean',
option('oomd', type : 'boolean', value : 'false',
description : 'install the userspace oom killer')
option('logind', type : 'boolean',
description : 'install the systemd-logind stack')