Merge pull request #15441 from sartura/src/analyze

systemd-analyze: Add new meson configure option for controlling systemd-analyze support
This commit is contained in:
Lennart Poettering 2020-04-16 14:11:44 +02:00 committed by GitHub
commit 9ba4029f8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -1714,7 +1714,7 @@ exe = executable('systemd-analyze',
libmount,
libblkid],
install_rpath : rootlibexecdir,
install : true)
install : get_option('analyze'))
public_programs += exe
executable('systemd-journald',
@ -3500,6 +3500,8 @@ foreach tuple : [
['link-systemctl-shared', get_option('link-systemctl-shared')],
['link-networkd-shared', get_option('link-networkd-shared')],
['link-timesyncd-shared', get_option('link-timesyncd-shared')],
['kernel-install', get_option('kernel-install')],
['systemd-analyze', get_option('analyze')],
]
if tuple.length() >= 2

View file

@ -363,4 +363,6 @@ option('oss-fuzz', type : 'boolean', value : 'false',
option('llvm-fuzz', type : 'boolean', value : 'false',
description : 'build against LLVM libFuzzer')
option('kernel-install', type: 'boolean', value: 'true',
description : 'include kernel-install feature')
description : 'install kernel-install and associated files')
option('analyze', type: 'boolean', value: 'true',
description : 'install systemd-analyze')