]> git.proxmox.com Git - mirror_lxc.git/blobdiff - meson_options.txt
Merge pull request #4209 from DuratarskeyK/master
[mirror_lxc.git] / meson_options.txt
index ee68938223e3f8852427b1b6efc0b7dec70efc27..3eb647e05815e5ab83f7deaec93c8fca846986a3 100644 (file)
 # -*- mode: meson -*-
 
-option('tests', type : 'boolean', value: 'false',
-       description : 'enable tests')
+# Main options
+# was --cgroup-pattern in autotools
+option('cgroup-pattern', type: 'string', value: '',
+       description: 'CGroup pattern')
 
-option('runtime-path', type : 'string', value : '/run',
-       description : 'the runtime directory')
+# was --coverity-build in autotools
+option('coverity-build', type: 'boolean', value: 'true',
+       description: 'build for coverity')
 
-option('init-script', type : 'combo',
-       choices : ['systemd', 'sysvinit', 'openrc', 'upstart'], value : 'systemd',
+# was --{disable,enable}-examples in autotools
+option('examples', type: 'boolean', value: 'true',
+       description: 'build and install examples')
+
+# was --init-script in autotools
+option('init-script', type : 'array',
+       choices : ['systemd', 'sysvinit', 'upstart'], value : ['systemd'],
        description : 'init script')
 
-option('apparmor-cache-dir', type : 'string', value : 'cache/lxc/apparmor',
-       description : 'the AppArmor cache directory')
+# was --systemd-unidir in autotools
+# If set to "", the value is taken from the running systemd instance.
+option('systemd-unitdir', type : 'string', value: '',
+       description : 'systemd system unit directory')
+
+# was --{disable,enable}-liburing in autotools
+option('io-uring-event-loop', type: 'boolean', value: 'false',
+       description: 'Enable io-uring based event loop')
+
+option('sd-bus', type: 'feature', value: 'auto',
+       description: 'Enable linking against sd-bus')
+
+# was --{disable,enable}-doc in autotools
+option('man', type: 'boolean', value: 'true',
+       description: 'build and install manpages')
+
+# was --{disable,enable}-pam in autotools
+option('pam-cgroup', type: 'boolean', value: 'false',
+       description: 'build and install the pam cgroup module')
+
+# was --{disable,enable}-tools in autotools
+option('tools', type: 'boolean', value: 'true',
+       description: 'build and install tools')
+
+option('tools-multicall', type: 'boolean', value: 'false',
+       description: 'build and install busybox style multicall binary')
+
+# was --{disable,enable}-commands in autotools
+option('commands', type: 'boolean', value: 'true',
+       description: 'build and install commands')
+
+# was --{disable,enable}-capabilities in autotools
+option('capabilities', type: 'boolean', value: 'true',
+       description: 'use capabilities')
+
+# was --{disable,enable}-seccomp in autotools
+option('seccomp', type: 'boolean', value: 'true',
+       description: 'use seccomp')
+
+# was --{disable,enable}-apparmor in autotools
+option('apparmor', type: 'boolean', value: 'true',
+       description: 'use apparmor')
+
+# was --{disable,enable}-openssl in autotools
+option('openssl', type: 'boolean', value: 'true',
+       description: 'use openssl')
+
+# was --{disable,enable}-selinux in autotools
+option('selinux', type: 'boolean', value: 'true',
+       description: 'use selinux')
+
+# was --{disable,enable}-tests in autotools
+option('tests', type: 'boolean', value: 'false',
+       description: 'build and install tests')
+
+# Paths
+# was --apparmor-cache-dir in autotools
+option('apparmor-cache-path', type: 'string', value: 'cache/lxc/apparmor',
+       description: 'AppArmor cache directory')
+
+# was --with-config-path in autotools
+option('data-path', type: 'string', value: 'lib/lxc',
+       description: 'Container storage directory')
+
+# was --with-doc-dir in autotools
+option('doc-path', type: 'string', value: 'doc/lxc',
+       description: 'Documentation directory')
+
+# was --with-global-conf in autotools
+option('global-config-path', type: 'string', value: 'lxc',
+       description: 'Global configuration directory')
 
-option('rootfs-mount-dir', type : 'string', value : 'lib/x86_64-linux-gnu/lxc/rootfs',
-       description : 'the rootfs mount directory')
+# was --log-path in autotools
+option('log-path', type: 'string', value: 'log/lxc',
+       description: 'Loging directory')
 
-option('cgroup-pattern', type : 'string', value : '',
-       description : 'the rootfs mount directory')
+# was --with-rootfs-path in autotools
+option('rootfs-mount-path', type: 'string', value: 'lxc/rootfs',
+       description: 'Container rootfs mount directory')
 
-option('log-path', type : 'string', value : 'log/lxc',
-       description : 'the rootfs mount directory')
+# was --with-runtime-path in autotools
+option('runtime-path', type: 'string', value: '/run',
+       description: 'Main runtime directory')
 
-option('config-path', type : 'string', value : 'lib/lxc',
-       description : 'the rootfs mount directory')
+# was --with-usernic-conf in autotools
+option('usernet-config-path', type: 'string', value: 'lxc/lxc-usernet',
+       description: 'User network configuration file path')
 
-option('global-config', type : 'string', value : 'lxc/lxc.conf',
-       description : 'the rootfs mount directory')
+# was --with-usernic-db in autotools
+option('usernet-db-path', type: 'string', value: 'lxc/nics',
+       description: 'User network database file path')
 
-option('docdir', type : 'string',
-       description : 'documentation directory')
+option('oss-fuzz', type : 'boolean', value : 'false',
+       description : 'build against oss-fuzz')
 
-option('user-network-conf', type : 'string', value : 'lxc/lxc-usernet',
-       description : 'user network interface configuration file')
+# was --{disable,enable}-thread-safety in autotools
+option('thread-safety', type : 'boolean', value : 'true',
+       description : 'whether the build fails when thread-safe logging cannot be guaranteed')
 
-option('user-network-db', type : 'string', value : 'lxc/nics',
-       description : 'user network database')
+# was --{disable,enable}-memfd-rexec in autotools
+option('memfd-rexec', type : 'boolean', value : 'true',
+       description : 'whether to rexec the lxc-attach binary when attaching to a container')
 
-option('io-uring-event-loop', type : 'boolean', value: 'false',
-       description : 'enable io-uring based event loop')
+option('distrosysconfdir', type : 'string', value: '',
+       description: 'relative path to sysconfdir for distro default configuration')