1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
|
# enable various dependencies (no prefixes)
option('tinfo', type : 'feature')
option('ncursesw', type : 'feature')
option('ncurses', type : 'feature')
option('slang', type : 'feature', value : 'disabled',
description : 'compile cfdisk with slang rather than ncurses')
option('cryptsetup', type : 'feature')
option('cryptsetup-dlopen', type : 'feature')
option('zlib', type : 'feature')
option('readline', type : 'feature')
option('nls', type : 'feature')
option('libutil', type : 'feature')
option('libutempter', type : 'feature')
option('libpcre2-posix', type : 'feature')
option('libuser', type : 'feature')
option('selinux', type : 'feature', value : 'disabled')
option('audit', type : 'feature', value : 'disabled')
option('smack', type : 'feature', value : 'disabled')
option('magic', type : 'feature')
option('econf', type : 'feature')
option('systemd', type : 'feature')
option('sysvinit', type : 'feature', value : 'disabled',
description : 'build and install sysvinit startup scripts')
option('btrfs', type : 'feature')
option('widechar', type : 'feature',
description : 'compile with wide character support')
# enable building of various programs and features ("build-" prefix)
option('build-python', type : 'feature', value : 'auto',
description : 'build python extension module')
option('python', type : 'string', value : 'python3',
description : 'build extension module for this python')
option('build-libblkid', type : 'feature',
description : 'build libblkid and many related utilities')
option('build-libuuid', type : 'feature',
description : 'build libuuid and uuid utilities')
option('build-liblastlog2', type : 'feature',
description : 'build liblastlog2 and lastlog2 utilities')
option('build-pam-lastlog2', type : 'feature',
description : 'build PAM lastlog2 module')
option('build-libmount', type : 'feature',
description : 'build libmount')
option('build-libsmartcols', type : 'feature',
description : 'build libsmartcols')
option('build-libfdisk', type : 'feature',
description : 'build libfdisk')
option('build-fdisks', type : 'feature',
description : 'build fdisk(8), sfdisk(8) and cfdisk(8)')
option('build-mount', type : 'feature',
description : 'build mount(8) and umount(8)')
option('build-swapon', type : 'feature',
description : 'build swapon')
option('build-swapoff', type : 'feature',
description : 'build swapoff')
option('build-chcpu', type : 'feature',
description : 'build chcpu')
option('build-losetup', type : 'feature',
description : 'build losetup')
option('build-zramctl', type : 'feature',
description : 'build zramctl')
option('build-lsns', type : 'feature',
description : 'build lsns')
option('build-mkfs', type : 'feature',
description : 'build mkfs')
option('build-fsck', type : 'feature',
description : 'build fsck')
option('build-partx', type : 'feature',
description : 'build addpart, delpart, partx')
option('build-script', type : 'feature',
description : 'build script')
option('build-scriptutils', type : 'feature',
description : 'build scriptutils')
option('build-bits', type : 'feature',
description : 'build bits')
option('build-col', type : 'feature',
description : 'build col')
option('build-colcrt', type : 'feature',
description : 'build colcrt')
option('build-colrm', type : 'feature',
description : 'build colrm')
option('build-rev', type : 'feature',
description : 'build rev')
option('build-uuidd', type : 'feature',
description : 'build the uuid daemon')
option('build-choom', type : 'feature',
description : 'build choom')
option('build-isosize', type : 'feature',
description : 'build isosize')
option('build-waitpid', type : 'feature',
description : 'build waitpid')
option('build-wipefs', type : 'feature',
description : 'build wipefs')
option('build-mountpoint', type : 'feature',
description : 'build mountpoint')
option('build-fallocate', type : 'feature',
description : 'build fallocate')
option('build-unshare', type : 'feature',
description : 'build unshare')
option('build-nsenter', type : 'feature',
description : 'build nsenter')
option('build-setpriv', type : 'feature',
description : 'build setpriv')
option('build-hardlink', type : 'feature',
description : 'build hardlink')
option('build-eject', type : 'feature',
description : 'build eject')
option('build-agetty', type : 'feature',
description : 'build agetty')
option('build-cramfs', type : 'feature',
description : 'build fsck.cramfs, mkfs.cramfs')
option('build-bfs', type : 'feature',
description : 'build mkfs.bfs')
option('build-minix', type : 'feature',
description : 'build fsck.minix, mkfs.minix')
option('build-fdformat', type : 'feature', value : 'disabled',
description : 'build fdformat')
option('build-blockdev', type : 'feature',
description : 'build blockdev')
option('build-hwclock', type : 'feature',
description : 'build hwclock')
option('build-lslogins', type : 'feature',
description : 'build lslogins')
option('build-wdctl', type : 'feature',
description : 'build wdctl')
option('build-cal', type : 'feature',
description : 'build cal')
option('build-logger', type : 'feature',
description : 'build logger')
option('build-look', type : 'feature',
description : 'build look')
option('build-mcookie', type : 'feature',
description : 'build mcookie')
option('build-namei', type : 'feature',
description : 'build namei')
option('build-whereis', type : 'feature',
description : 'build whereis')
option('build-lsblk', type : 'feature',
description : 'build lsblk')
option('build-lslocks', type : 'feature',
description : 'build lslocks')
option('build-findmnt', type : 'feature',
description : 'build findmnt')
option('build-lsfd', type : 'feature',
description : 'build lsfd')
option('build-switch_root', type : 'feature',
description : 'switch_root')
option('build-pivot_root', type : 'feature',
description : 'build pivot_root')
option('build-flock', type : 'feature',
description : 'build flock')
option('build-lsmem', type : 'feature',
description : 'build lsmem')
option('build-lsirq', type : 'feature',
description : 'build lsirq')
option('build-irqtop', type : 'feature',
description : 'build irqtop')
option('build-chmem', type : 'feature',
description : 'build chmem')
option('build-ipcmk', type : 'feature',
description : 'build ipcmk')
option('build-ipcrm', type : 'feature',
description : 'build ipcrm')
option('build-ipcs', type : 'feature',
description : 'build ipcs')
option('build-rfkill', type : 'feature',
description : 'build rfkill')
option('build-tunelp', type : 'feature',
description : 'build tunelp')
option('build-fstrim', type : 'feature',
description : 'build fstrim')
option('build-dmesg', type : 'feature',
description : 'build dmesg')
option('build-ctrlaltdel', type : 'feature',
description : 'build ctrlaltdel')
option('build-exch', type : 'feature',
description : 'build exch')
option('build-fsfreeze', type : 'feature',
description : 'build fsfreeze')
option('build-blkdiscard', type : 'feature',
description : 'build blkdiscard')
option('build-blkzone', type : 'feature',
description : 'build blkzone')
option('build-blkpr', type : 'feature',
description : 'build blkpr')
option('build-ldattach', type : 'feature',
description : 'build ldattach')
option('build-rtcwake', type : 'feature',
description : 'build rtcwake')
option('build-setarch', type : 'feature',
description : 'build setarch')
option('build-kill', type : 'feature',
description : 'build kill')
option('build-last', type : 'feature',
description : 'build last')
option('build-utmpdump', type : 'feature',
description : 'build utmpdump')
option('build-line', type : 'feature',
description : 'build line')
option('build-mesg', type : 'feature',
description : 'build mesg')
option('build-raw', type : 'feature', value : 'disabled',
description : 'build raw')
option('build-rename', type : 'feature',
description : 'build rename')
option('build-vipw', type : 'feature',
description : 'build vipw')
option('build-newgrp', type : 'feature',
description : 'build newgrp')
option('build-chfn-chsh', type : 'feature',
description : 'build chfn and chsh')
option('build-login', type : 'feature',
description : 'build login')
option('build-nologin', type : 'feature',
description : 'build nologin')
option('build-sulogin', type : 'feature',
description : 'build sulogin')
option('build-su', type : 'feature',
description : 'build su')
option('build-runuser', type : 'feature',
description : 'build runuser')
option('build-ul', type : 'feature',
description : 'build ul')
option('build-more', type : 'feature',
description : 'build more')
option('build-pg', type : 'feature',
description : 'build pg')
option('build-pipesz', type : 'feature',
description : 'build pipesz')
option('build-fadvise', type : 'feature',
description : 'build fadvise')
option('build-enosys', type : 'feature',
description : 'build enosys')
option('build-lsclocks', type : 'feature',
description : 'build lsclocks')
option('build-getopt', type : 'feature',
description : 'build getopt')
option('build-setterm', type : 'feature',
description : 'build setterm')
option('build-schedutils', type : 'feature',
description : 'build chrt, ionice, taskset, coresched')
option('build-wall', type : 'feature',
description : 'build wall')
option('build-write', type : 'feature',
description : 'build write')
option('build-bash-completion', type : 'feature',
description : 'install bash completion files')
option('build-pylibmount', type : 'feature',
description : 'build pylibmount')
option('build-hexdump', type : 'feature',
description : 'build hexdump')
option('build-findfs', type : 'feature',
description : 'build findfs')
# static programs
option('static-programs', type : 'array',
value : [],
choices : ['losetup', 'mount', 'umount', 'fdisk', 'sfdisk', 'blkid', 'nsenter', 'unshare', 'partx'],
description : 'list of programs to also build with static linking')
# feature selection and other configuration
option('program-tests',
type: 'boolean', value : true,
description : 'build test programs')
option('chfn-chsh-password',
type : 'boolean', value : true,
description : 'require the user to enter the password in chfn and chsh')
option('chsh-only-listed',
type : 'boolean', value : true,
description : 'chsh: only allow shells in /etc/shells')
option('use-tty-group',
type : 'boolean', value : true,
description : 'install wall and write setgid tty')
option('build-plymouth-support',
type : 'feature',
description : 'support plymouth feature in sulogin and agetty')
option('use-tls',
type : 'boolean', value : true,
description : 'use thread-local storage')
option('pg-bell',
type : 'boolean', value : true,
description : 'should pg ring the bell on invalid keys?')
option('colors-default', type: 'boolean', value: true,
description: 'Enables colorized output from utils by default')
option('allow-32bit-time', type: 'boolean', value: false,
description: 'Allow 32bit time_t type')
option('fs-search-path',
type : 'string',
value : '/sbin:/sbin/fs.d:/sbin/fs',
description : 'default search path for fs helpers')
option('fs-search-path-extra',
type : 'string',
description : 'additional search path for fs helpers')
option('vendordir',
type: 'string',
description : 'directory for distribution provided econf files')
option('pamlibdir', type : 'string',
description : 'directory for PAM modules')
option('login-lastlogin', type : 'boolean',
value : false,
description : 'program login writes lastlog entries')
option('tty-setgid', type : 'boolean',
value : true,
description : 'setgid tty group for wall and write programs')
|