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