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