diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-10 16:04:16 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-24 01:31:21 +0900 |
commit | ac09340e85a2117f13770893dc5c3ae45bb35519 (patch) | |
tree | cd9467b06234779c61d0f75d43e258d6df83f25d /meson_options.txt | |
parent | 08540a9591efe105439be81fc43d6dc65b715978 (diff) | |
download | systemd-ac09340e85a2117f13770893dc5c3ae45bb35519.tar.gz systemd-ac09340e85a2117f13770893dc5c3ae45bb35519.tar.bz2 systemd-ac09340e85a2117f13770893dc5c3ae45bb35519.zip |
meson: use integer type in options
This bumps the minimum required version of meson to 0.45 and
python to 3.5, as integer type option is supported since meson-0.45
and meson-0.45 requires python-3.5.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/meson_options.txt b/meson_options.txt index f6a628c059..4fdd0caf4a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -150,28 +150,23 @@ option('compat-gateway-hostname', type : 'boolean', value : 'false', option('default-hierarchy', type : 'combo', choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid', description : 'default cgroup hierarchy') -option('time-epoch', type : 'string', +option('time-epoch', type : 'integer', value : '-1', description : 'time epoch for time clients') -option('system-uid-max', type : 'string', +option('system-uid-max', type : 'integer', value : '-1', description : 'maximum system UID') -option('system-gid-max', type : 'string', +option('system-gid-max', type : 'integer', value : '-1', description : 'maximum system GID') -option('dynamic-uid-min', type : 'string', - description : 'minimum dynamic UID', - value : '61184') # That's → 0x0000EF00 in hex -option('dynamic-uid-max', type : 'string', - description : 'maximum dynamic UID', - value : '65519') # That's → 0x0000FFEF in hex -option('container-uid-base-min', type : 'string', - description : 'minimum container UID base', - value : '524288') # That's → 0x00080000 in hex -option('container-uid-base-max', type : 'string', - description : 'maximum container UID base', - value : '1878982656') # That's → 0x6FFF0000 in hex -option('tty-gid', type : 'string', - description : 'the numeric GID of the "tty" group', - value : '5') -option('users-gid', type : 'string', +option('dynamic-uid-min', type : 'integer', value : 0x0000EF00, + description : 'minimum dynamic UID') +option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF, + description : 'maximum dynamic UID') +option('container-uid-base-min', type : 'integer', value : 0x00080000, + description : 'minimum container UID base') +option('container-uid-base-max', type : 'integer', value : 0x6FFF0000, + description : 'maximum container UID base') +option('tty-gid', type : 'integer', value : 5, + description : 'the numeric GID of the "tty" group') +option('users-gid', type : 'integer', value : '-1', description : 'the numeric GID of the "users" group') option('adm-group', type : 'boolean', description : 'the ACL for adm group should be added') @@ -291,7 +286,7 @@ option('efi-ldsdir', type : 'string', description : 'path to the EFI lds directory') option('efi-includedir', type : 'string', value : '/usr/include/efi', description : 'path to the EFI header directory') -option('tpm-pcrindex', type : 'string', value : '8', +option('tpm-pcrindex', type : 'integer', value : 8, description : 'TPM PCR register number to use') option('bashcompletiondir', type : 'string', |