]> git.proxmox.com Git - mirror_lxc.git/blame - meson_options.txt
Merge pull request #4231 from brauner/cgroup.removal
[mirror_lxc.git] / meson_options.txt
CommitLineData
9b9d56e6
CB
1# -*- mode: meson -*-
2
7609de18 3# Main options
57f4bd73 4# was --cgroup-pattern in autotools
7609de18
SG
5option('cgroup-pattern', type: 'string', value: '',
6 description: 'CGroup pattern')
9b9d56e6 7
57f4bd73 8# was --coverity-build in autotools
4dd5e0cf
SG
9option('coverity-build', type: 'boolean', value: 'true',
10 description: 'build for coverity')
11
57f4bd73 12# was --{disable,enable}-examples in autotools
7609de18
SG
13option('examples', type: 'boolean', value: 'true',
14 description: 'build and install examples')
9b9d56e6 15
57f4bd73 16# was --init-script in autotools
8131bb44
SG
17option('init-script', type : 'array',
18 choices : ['systemd', 'sysvinit', 'upstart'], value : ['systemd'],
19 description : 'init script')
9b9d56e6 20
c6c705bf
AS
21# was --systemd-unidir in autotools
22# If set to "", the value is taken from the running systemd instance.
23option('systemd-unitdir', type : 'string', value: '',
24 description : 'systemd system unit directory')
25
57f4bd73 26# was --{disable,enable}-liburing in autotools
7609de18
SG
27option('io-uring-event-loop', type: 'boolean', value: 'false',
28 description: 'Enable io-uring based event loop')
9b9d56e6 29
c55353f8
SH
30option('sd-bus', type: 'feature', value: 'auto',
31 description: 'Enable linking against sd-bus')
32
57f4bd73 33# was --{disable,enable}-doc in autotools
7609de18
SG
34option('man', type: 'boolean', value: 'true',
35 description: 'build and install manpages')
9b9d56e6 36
57f4bd73 37# was --{disable,enable}-pam in autotools
54f1ddb3
SG
38option('pam-cgroup', type: 'boolean', value: 'false',
39 description: 'build and install the pam cgroup module')
40
57f4bd73 41# was --{disable,enable}-tools in autotools
b3d18992
SG
42option('tools', type: 'boolean', value: 'true',
43 description: 'build and install tools')
44
f4d02217
PM
45option('tools-multicall', type: 'boolean', value: 'false',
46 description: 'build and install busybox style multicall binary')
47
57f4bd73 48# was --{disable,enable}-commands in autotools
575d0e34
CB
49option('commands', type: 'boolean', value: 'true',
50 description: 'build and install commands')
51
57f4bd73 52# was --{disable,enable}-capabilities in autotools
575d0e34
CB
53option('capabilities', type: 'boolean', value: 'true',
54 description: 'use capabilities')
55
57f4bd73 56# was --{disable,enable}-seccomp in autotools
0b9adfda
CB
57option('seccomp', type: 'boolean', value: 'true',
58 description: 'use seccomp')
59
57f4bd73 60# was --{disable,enable}-apparmor in autotools
575d0e34
CB
61option('apparmor', type: 'boolean', value: 'true',
62 description: 'use apparmor')
63
57f4bd73 64# was --{disable,enable}-openssl in autotools
575d0e34
CB
65option('openssl', type: 'boolean', value: 'true',
66 description: 'use openssl')
67
57f4bd73 68# was --{disable,enable}-selinux in autotools
575d0e34
CB
69option('selinux', type: 'boolean', value: 'true',
70 description: 'use selinux')
71
57f4bd73 72# was --{disable,enable}-tests in autotools
7609de18
SG
73option('tests', type: 'boolean', value: 'false',
74 description: 'build and install tests')
9b9d56e6 75
7609de18 76# Paths
57f4bd73 77# was --apparmor-cache-dir in autotools
7609de18
SG
78option('apparmor-cache-path', type: 'string', value: 'cache/lxc/apparmor',
79 description: 'AppArmor cache directory')
9b9d56e6 80
57f4bd73 81# was --with-config-path in autotools
7609de18
SG
82option('data-path', type: 'string', value: 'lib/lxc',
83 description: 'Container storage directory')
9b9d56e6 84
57f4bd73 85# was --with-doc-dir in autotools
7609de18
SG
86option('doc-path', type: 'string', value: 'doc/lxc',
87 description: 'Documentation directory')
dcfe4e13 88
57f4bd73 89# was --with-global-conf in autotools
9d18059b
SG
90option('global-config-path', type: 'string', value: 'lxc',
91 description: 'Global configuration directory')
72f1c44a 92
57f4bd73 93# was --log-path in autotools
7609de18
SG
94option('log-path', type: 'string', value: 'log/lxc',
95 description: 'Loging directory')
72f1c44a 96
57f4bd73 97# was --with-rootfs-path in autotools
7609de18
SG
98option('rootfs-mount-path', type: 'string', value: 'lxc/rootfs',
99 description: 'Container rootfs mount directory')
747bc634 100
57f4bd73 101# was --with-runtime-path in autotools
7609de18
SG
102option('runtime-path', type: 'string', value: '/run',
103 description: 'Main runtime directory')
104
57f4bd73 105# was --with-usernic-conf in autotools
7609de18
SG
106option('usernet-config-path', type: 'string', value: 'lxc/lxc-usernet',
107 description: 'User network configuration file path')
108
57f4bd73 109# was --with-usernic-db in autotools
7609de18
SG
110option('usernet-db-path', type: 'string', value: 'lxc/nics',
111 description: 'User network database file path')
d42a3b13
CB
112
113option('oss-fuzz', type : 'boolean', value : 'false',
114 description : 'build against oss-fuzz')
0c4549a3 115
57f4bd73 116# was --{disable,enable}-thread-safety in autotools
0c4549a3
CB
117option('thread-safety', type : 'boolean', value : 'true',
118 description : 'whether the build fails when thread-safe logging cannot be guaranteed')
493bf2de 119
57f4bd73 120# was --{disable,enable}-memfd-rexec in autotools
493bf2de
CB
121option('memfd-rexec', type : 'boolean', value : 'true',
122 description : 'whether to rexec the lxc-attach binary when attaching to a container')
16ebb29d
ĐTCD
123
124option('distrosysconfdir', type : 'string', value: '',
125 description: 'relative path to sysconfdir for distro default configuration')