]>
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') | |
40 | option('build-libmount', type : 'feature', | |
41 | description : 'build libmount') | |
42 | option('build-libsmartcols', type : 'feature', | |
43 | description : 'build libsmartcols') | |
44 | option('build-libfdisk', type : 'feature', | |
45 | description : 'build libfdisk') | |
46 | ||
47 | ||
48 | option('build-fdisks', type : 'feature', | |
49 | description : 'build fdisk(8), sfdisk(8) and cfdisk(8)') | |
50 | option('build-mount', type : 'feature', | |
51 | description : 'build mount(8) and umount(8)') | |
52 | option('build-losetup', type : 'feature', | |
53 | description : 'build losetup') | |
54 | option('build-zramctl', type : 'feature', | |
55 | description : 'build zramctl') | |
56 | option('build-fsck', type : 'feature', | |
57 | description : 'build fsck') | |
58 | option('build-partx', type : 'feature', | |
59 | description : 'build addpart, delpart, partx') | |
60 | ||
61 | option('build-uuidd', type : 'feature', | |
62 | description : 'build the uuid daemon') | |
63 | ||
64 | option('build-wipefs', type : 'feature', | |
65 | description : 'build wipefs') | |
66 | option('build-mountpoint', type : 'feature', | |
67 | description : 'build mountpoint') | |
68 | option('build-fallocate', type : 'feature', | |
69 | description : 'build fallocate') | |
70 | option('build-unshare', type : 'feature', | |
71 | description : 'build unshare') | |
72 | option('build-nsenter', type : 'feature', | |
73 | description : 'build nsenter') | |
74 | option('build-setpriv', type : 'feature', | |
75 | description : 'build setpriv') | |
76 | option('build-hardlink', type : 'feature', | |
77 | description : 'build hardlink') | |
78 | option('build-eject', type : 'feature', | |
79 | description : 'build eject') | |
80 | option('build-agetty', type : 'feature', | |
81 | description : 'build agetty') | |
82 | option('build-cramfs', type : 'feature', | |
83 | description : 'build fsck.cramfs, mkfs.cramfs') | |
84 | option('build-bfs', type : 'feature', | |
85 | description : 'build mkfs.bfs') | |
86 | option('build-minix', type : 'feature', | |
87 | description : 'build fsck.minix, mkfs.minix') | |
6e92db54 | 88 | option('build-fdformat', type : 'feature', value : 'disabled', |
d4c880d5 ZJS |
89 | description : 'build fdformat') |
90 | option('build-hwclock', type : 'feature', | |
91 | description : 'build hwclock') | |
92 | option('build-lslogins', type : 'feature', | |
93 | description : 'build lslogins') | |
94 | option('build-wdctl', type : 'feature', | |
95 | description : 'build wdctl') | |
96 | option('build-cal', type : 'feature', | |
97 | description : 'build cal') | |
98 | option('build-logger', type : 'feature', | |
99 | description : 'build logger') | |
100 | option('build-switch_root', type : 'feature', | |
101 | description : 'switch_root') | |
102 | option('build-pivot_root', type : 'feature', | |
103 | description : 'build pivot_root') | |
104 | option('build-lsmem', type : 'feature', | |
105 | description : 'build lsmem') | |
645577c7 KZ |
106 | option('build-lsirq', type : 'feature', |
107 | description : 'build lsirq') | |
108 | option('build-irqtop', type : 'feature', | |
109 | description : 'build irqtop') | |
d4c880d5 ZJS |
110 | option('build-chmem', type : 'feature', |
111 | description : 'build chmem') | |
112 | option('build-ipcrm', type : 'feature', | |
113 | description : 'build ipcrm') | |
114 | option('build-ipcs', type : 'feature', | |
115 | description : 'build ipcs') | |
116 | option('build-rfkill', type : 'feature', | |
117 | description : 'build rfkill') | |
118 | option('build-tunelp', type : 'feature', | |
119 | description : 'build tunelp') | |
120 | option('build-kill', type : 'feature', | |
121 | description : 'build kill') | |
122 | option('build-last', type : 'feature', | |
123 | description : 'build last') | |
124 | option('build-utmpdump', type : 'feature', | |
125 | description : 'build utmpdump') | |
126 | option('build-line', type : 'feature', | |
127 | description : 'build line') | |
128 | option('build-mesg', type : 'feature', | |
129 | description : 'build mesg') | |
dff176e2 | 130 | option('build-raw', type : 'feature', value : 'disabled', |
d4c880d5 ZJS |
131 | description : 'build raw') |
132 | option('build-rename', type : 'feature', | |
133 | description : 'build rename') | |
134 | option('build-vipw', type : 'feature', | |
135 | description : 'build vipw') | |
136 | option('build-newgrp', type : 'feature', | |
137 | description : 'build newgrp') | |
138 | option('build-chfn-chsh', type : 'feature', | |
139 | description : 'build chfn and chsh') | |
140 | option('build-login', type : 'feature', | |
141 | description : 'build login') | |
142 | option('build-nologin', type : 'feature', | |
143 | description : 'build nologin') | |
144 | option('build-sulogin', type : 'feature', | |
145 | description : 'build sulogin') | |
146 | option('build-su', type : 'feature', | |
147 | description : 'build su') | |
148 | option('build-runuser', type : 'feature', | |
149 | description : 'build runuser') | |
150 | option('build-ul', type : 'feature', | |
151 | description : 'build ul') | |
152 | option('build-more', type : 'feature', | |
153 | description : 'build more') | |
154 | option('build-pg', type : 'feature', | |
155 | description : 'build pg') | |
c221578e NS |
156 | option('build-pipesz', type : 'feature', |
157 | description : 'build pipesz') | |
d4c880d5 ZJS |
158 | option('build-setterm', type : 'feature', |
159 | description : 'build setterm') | |
160 | option('build-schedutils', type : 'feature', | |
161 | description : 'build chrt, ionice, taskset') | |
162 | option('build-wall', type : 'feature', | |
163 | description : 'build wall') | |
164 | option('build-write', type : 'feature', | |
165 | description : 'build write') | |
166 | option('build-bash-completion', type : 'feature', | |
167 | description : 'install bash completion files') | |
168 | option('build-pylibmount', type : 'feature', | |
169 | description : 'build pylibmount') | |
170 | ||
69939195 ZJS |
171 | # static programs |
172 | ||
173 | option('static-programs', type : 'array', | |
174 | value : [], | |
175 | choices : ['losetup', 'mount', 'umount', 'fdisk', 'sfdisk', 'blkid', 'nsenter', 'unshare'], | |
176 | description : 'list of programs to also build with static linking') | |
177 | ||
178 | # feature selection and other configuration | |
179 | ||
d4c880d5 ZJS |
180 | option('chfn-chsh-password', |
181 | type : 'boolean', value : true, | |
182 | description : 'require the user to enter the password in chfn and chsh') | |
183 | option('chsh-only-listed', | |
184 | type : 'boolean', value : true, | |
185 | description : 'chsh: only allow shells in /etc/shells') | |
186 | option('use-tty-group', | |
187 | type : 'boolean', value : true, | |
188 | description : 'install wall and write setgid tty') | |
189 | option('build-plymouth-support', | |
190 | type : 'feature', | |
191 | description : 'support plymouth feature in sulogin and agetty') | |
192 | option('use-tls', | |
193 | type : 'boolean', value : true, | |
194 | description : 'use thread-local storage') | |
195 | option('pg-bell', | |
196 | type : 'boolean', value : true, | |
197 | description : 'should pg ring the bell on invalid keys?') | |
c0ff722e | 198 | option('colors-default', type: 'boolean', value: true, |
e0806c40 | 199 | description: 'Enables colorized output from utils by default') |
d4c880d5 ZJS |
200 | |
201 | option('fs-search-path', | |
202 | type : 'string', | |
203 | value : '/sbin:/sbin/fs.d:/sbin/fs', | |
204 | description : 'default search path for fs helpers') | |
205 | option('fs-search-path-extra', | |
206 | type : 'string', | |
207 | description : 'additional search path for fs helpers') | |
308a0979 KZ |
208 | option('vendordir', |
209 | type: 'string', | |
210 | description : 'directory for distribution provided econf files') |