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