summaryrefslogtreecommitdiffstats
path: root/rules/e2fsprogs.in
blob: 769d49e6dfe8e30ac80cc4a0ef4d787fa23f1352 (plain)
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
## SECTION=disk_and_file

menuconfig E2FSPROGS
	tristate
	prompt "e2fsprogs                     "
	select LIBC_DL if E2FSPROGS_LIBSS
	select LIBC_PTHREAD if E2FSPROGS_LIBCOM_ERR
	select LIBBLKID
	select LIBUUID
	help
	 The e2fsprogs package provides the filesystem utilities for use
	 with the ext2 filesystem. It also supports the ext3 and ext4
	 filesystems.

if E2FSPROGS

# -----------------------------------
menu "build options                 "
# -----------------------------------

config E2FSPROGS_IMAGER
	bool
	# no prompt
	default y if E2FSPROGS_INSTALL_E2IMAGE
	help
	  Enable support for e2image program.

config E2FSPROGS_RESIZER
	bool
	# no prompt
	default y if E2FSPROGS_INSTALL_RESIZE2FS
	help
	  Enable support for e2resize program.

endmenu

# -----------------------------------
menu "libraries                     "
# -----------------------------------

config E2FSPROGS_LIBCOM_ERR
	bool
	prompt "libcom_err"
	help
	  Install libcom_err.

config E2FSPROGS_LIBE2P
	bool
	prompt "libe2p"
	help
	  Install libe2p.

config E2FSPROGS_LIBEXT2FS
	bool
	prompt "libext2fs"
	select E2FSPROGS_LIBCOM_ERR
	select LIBC_PTHREAD
	help
	  Install libext2fs.

config E2FSPROGS_LIBSS
	bool
	prompt "libss"
	select E2FSPROGS_LIBCOM_ERR
	select LIBC_DL
	select LIBC_PTHREAD
	help
	  Install libss.

endmenu

# -----------------------------------
menu "binaries                      "
# -----------------------------------

config E2FSPROGS_INSTALL_CHATTR
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	prompt "chattr"
	help
	  Enable support for chattr program.

config E2FSPROGS_INSTALL_LSATTR
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	prompt "lsattr"
	help
	  Enable support for lsattr program.

# -----

config E2FSPROGS_INSTALL_BADBLOCKS
	bool
	select E2FSPROGS_LIBEXT2FS
	select E2FSPROGS_LIBCOM_ERR
	prompt "badblocks"
	help
	  Enable support for badblocks program.


config E2FSPROGS_INSTALL_DUMPE2FS
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	select E2FSPROGS_LIBEXT2FS
	prompt "dumpe2fs"
	help
	  Enable support for dumpe2fs program.



config E2FSPROGS_INSTALL_E2FSCK
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	select E2FSPROGS_LIBEXT2FS
	prompt "e2fsck"
	help
	  Enable support for e2fsck program.

config E2FSPROGS_INSTALL_FSCK_EXT2
	bool
	prompt "fsck.ext2"
	select E2FSPROGS_INSTALL_E2FSCK
	help
	  Create link to fsck.ext2 program.


config E2FSPROGS_INSTALL_FSCK_EXT3
	bool
	prompt "fsck.ext3"
	select E2FSPROGS_INSTALL_E2FSCK
	help
	  Enable support for fsck.ext3 program.

config E2FSPROGS_INSTALL_FSCK_EXT4
	bool
	prompt "fsck.ext4"
	select E2FSPROGS_INSTALL_E2FSCK
	help
	  Create link to fsck.ext4 program.


config E2FSPROGS_INSTALL_DEBUGFS
	bool
	select E2FSPROGS_LIBEXT2FS
	select E2FSPROGS_LIBE2P
	select E2FSPROGS_LIBSS
	select E2FSPROGS_LIBCOM_ERR
	prompt "debugfs"
	help
	  Enable support for debugfs program.

config E2FSPROGS_INSTALL_E2IMAGE
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBEXT2FS
	prompt "e2image"
	help
	  Enable support for e2image program.


config E2FSPROGS_INSTALL_E2LABEL
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	select E2FSPROGS_LIBEXT2FS
	prompt "e2label"
	help
	  Enable support for e2label program.

config E2FSPROGS_INSTALL_E2UNDO
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBEXT2FS
	prompt "e2undo"
	help
	  Enable support for e2undo program.

config E2FSPROGS_INSTALL_E4CRYPT
	bool
	select E2FSPROGS_LIBCOM_ERR
	prompt "e4crypt"
	help
	  Enable support for e4crypt, an ext4 filesystem encryption
	  utility.

config E2FSPROGS_INSTALL_E4DEFRAG
	bool
	select E2FSPROGS_LIBCOM_ERR
	prompt "e4defrag"
	help
	  Enable support for e4defrag, an online defragmenter for the
	  ext4 filesystem.

config E2FSPROGS_INSTALL_FILEFRAG
	bool
	prompt "filefrag"
	help
	  Enable support for filefrag program.

config E2FSPROGS_INSTALL_LOGSAVE
	bool
	prompt "logsave"
	help
	  Enable support for logsave program.



comment "BusyBox' mke2fs is selected!"
	depends on BUSYBOX_MKE2FS

if !BUSYBOX_MKE2FS || ALLYES

config E2FSPROGS_INSTALL_MKE2FS
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	select E2FSPROGS_LIBEXT2FS
	prompt "mke2fs"
	help
	  Enable support for mke2fs program.

config E2FSPROGS_INSTALL_MKFS_EXT2
	bool
	prompt "mkfs.ext2"
	select E2FSPROGS_INSTALL_MKE2FS
	help
	  Create link to mkfs.ext2 program.

config E2FSPROGS_INSTALL_MKFS_EXT3
	bool
	prompt "mkfs.ext3"
	select E2FSPROGS_INSTALL_MKE2FS
	help
	  Create link to mkfs.ext3 program.

config E2FSPROGS_INSTALL_MKFS_EXT4
	bool
	prompt "mkfs.ext4"
	select E2FSPROGS_INSTALL_MKE2FS
	help
	  Create link to mkfs.ext4 program.

endif

config E2FSPROGS_INSTALL_MKLOSTANDFOUND
	bool
	prompt "mklost+found"
	help
	  Enable support for mklost+found program.

config E2FSPROGS_INSTALL_RESIZE2FS
	bool
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	select E2FSPROGS_LIBEXT2FS
	prompt "resize2fs"
	help
	  Enable support for resize2fs program.

comment "BusyBox' tune2fs is selected!"
	depends on BUSYBOX_TUNE2FS

config E2FSPROGS_INSTALL_TUNE2FS
	bool
	depends on !BUSYBOX_TUNE2FS || ALLYES
	select E2FSPROGS_LIBCOM_ERR
	select E2FSPROGS_LIBE2P
	select E2FSPROGS_LIBEXT2FS
	prompt "tune2fs"
	help
	  Enable support for tune2fs program.

endmenu

endif