Skip to content
Snippets Groups Projects
Verified Commit c78868c6 authored by Tomas Krizek's avatar Tomas Krizek
Browse files

meson: improve keyfile_default

parent 2922eac9
Branches
Tags
1 merge request!771meson build system
......@@ -51,16 +51,15 @@ systemd_tmpfiles_dir = ''
## Trust anchors
managed_ta = get_option('managed_ta').enabled()
keyfile_default = get_option('keyfile_default')
if keyfile_default == ''
keyfile_default = join_paths(etc_dir, 'root.keys')
keyfile_default = join_paths(etc_dir, get_option('keyfile_default'))
if keyfile_default == join_paths(etc_dir, 'root.keys')
install_root_keys = true
managed_ta = managed_ta or get_option('managed_ta').auto()
else
install_root_keys = false
if managed_ta
warning('Using managed_ta along with keyfile_default. Ensure '
+ 'keyfile_default directory will be writable by kresd.')
warning('Using managed_ta along with non-standard keyfile_default. ' +
'Ensure keyfile_default directory will be writable by kresd.')
endif
endif
......
......@@ -2,7 +2,8 @@
option(
'keyfile_default',
type: 'string',
description: 'built-in default path to DNSSEC trust anchors file',
value: 'root.keys',
description: 'built-in path to DNSSEC trust anchors file',
)
option(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment