The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / system / Config.in
1 menu "System configuration"
2
3 config BR2_TARGET_GENERIC_HOSTNAME
4         string "System hostname"
5         default "buildroot"
6         help
7           Select system hostname to be stored in /etc/hostname.
8
9           Leave empty to not create /etc/hostname, or to keep the
10           one from a custom skeleton.
11
12 config BR2_TARGET_GENERIC_ISSUE
13         string "System banner"
14         default "Welcome to Buildroot"
15         help
16           Select system banner (/etc/issue) to be displayed at login.
17
18           Leave empty to not create /etc/issue, or to keep the
19           one from a custom skeleton.
20
21 choice
22         bool "Passwords encoding"
23         default BR2_TARGET_GENERIC_PASSWD_MD5
24         help
25           Choose the password encoding scheme to use when Buildroot
26           needs to encode a password (eg. the root password, below).
27
28           Note: this is used at build-time, and *not* at runtime.
29
30 config BR2_TARGET_GENERIC_PASSWD_MD5
31         bool "md5"
32         help
33           Use MD5 to encode passwords.
34
35           The default. Wildly available, and pretty good.
36           Although pretty strong, MD5 is now an old hash function, and
37           suffers from some weaknesses, which makes it susceptible to
38           brute-force attacks.
39
40 config BR2_TARGET_GENERIC_PASSWD_SHA256
41         bool "sha-256"
42         help
43           Use SHA256 to encode passwords.
44
45           Very strong, but not ubiquitous, although available in glibc
46           for some time now. Choose only if you are sure your C library
47           understands SHA256 passwords.
48
49 config BR2_TARGET_GENERIC_PASSWD_SHA512
50         bool "sha-512"
51         help
52           Use SHA512 to encode passwords.
53
54           Extremely strong, but not ubiquitous, although available in glibc
55           for some time now. Choose only if you are sure your C library
56           understands SHA512 passwords.
57
58 endchoice # Passwd encoding
59
60 config BR2_TARGET_GENERIC_PASSWD_METHOD
61         string
62         default "md5"       if BR2_TARGET_GENERIC_PASSWD_MD5
63         default "sha-256"   if BR2_TARGET_GENERIC_PASSWD_SHA256
64         default "sha-512"   if BR2_TARGET_GENERIC_PASSWD_SHA512
65
66 choice
67         prompt "Init system"
68         default BR2_INIT_BUSYBOX
69
70 config BR2_INIT_BUSYBOX
71         bool "BusyBox"
72         select BR2_PACKAGE_BUSYBOX
73
74 config BR2_INIT_SYSV
75         bool "systemV"
76         select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
77         select BR2_PACKAGE_SYSVINIT
78
79 config BR2_INIT_SYSTEMD
80         bool "systemd"
81         depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
82         depends on BR2_TOOLCHAIN_USES_GLIBC
83         depends on BR2_USE_WCHAR
84         depends on BR2_TOOLCHAIN_HAS_THREADS
85         depends on BR2_TOOLCHAIN_HAS_SSP
86         depends on BR2_USE_MMU
87         depends on !BR2_STATIC_LIBS
88         depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
89         select BR2_PACKAGE_SYSTEMD
90
91 comment 'systemd needs an (e)glibc toolchain, headers >= 3.10'
92         depends on !(BR2_TOOLCHAIN_USES_GLIBC \
93                 && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10)
94
95 config BR2_INIT_NONE
96         bool "None"
97
98 endchoice
99
100 choice
101         prompt "/dev management" if !BR2_INIT_SYSTEMD
102         default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
103
104 config BR2_ROOTFS_DEVICE_CREATION_STATIC
105         bool "Static using device table"
106
107 config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
108         bool "Dynamic using devtmpfs only"
109
110 config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
111         bool "Dynamic using mdev"
112         select BR2_PACKAGE_BUSYBOX
113
114 config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
115         bool "Dynamic using eudev"
116         depends on BR2_USE_WCHAR
117         depends on !BR2_STATIC_LIBS
118         depends on BR2_USE_MMU # eudev
119         select BR2_PACKAGE_EUDEV
120
121 comment "eudev needs a toolchain w/ wchar, dynamic library"
122         depends on BR2_USE_MMU
123         depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
124
125 endchoice
126
127 comment "/dev management using udev (from systemd)"
128         depends on BR2_INIT_SYSTEMD
129
130 config BR2_ROOTFS_DEVICE_TABLE
131         string "Path to the permission tables"
132         default "system/device_table.txt"
133         help
134           Specify a space-separated list of permission table locations,
135           that will be passed to the makedevs utility to assign
136           correct owners and permissions on various files in the
137           target filesystem.
138
139           See package/makedevs/README for details on the usage and
140           syntax of these files.
141
142 config BR2_ROOTFS_STATIC_DEVICE_TABLE
143         string "Path to the device tables"
144         default "system/device_table_dev.txt"
145         depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
146         help
147           Specify a space-separated list of device table locations,
148           that will be passed to the makedevs utility to create all
149           the special device files under /dev.
150
151           See package/makedevs/README for details on the usage and
152           syntax of these files.
153
154 choice
155         prompt "Root FS skeleton"
156
157 config BR2_ROOTFS_SKELETON_DEFAULT
158         bool "default target skeleton"
159         help
160           Use default target skeleton
161
162 config BR2_ROOTFS_SKELETON_CUSTOM
163         bool "custom target skeleton"
164         help
165           Use custom target skeleton.
166
167 endchoice
168
169 if BR2_ROOTFS_SKELETON_CUSTOM
170 config BR2_ROOTFS_SKELETON_CUSTOM_PATH
171         string "custom target skeleton path"
172         default "system/skeleton"
173         help
174           Path to custom target skeleton.
175 endif
176
177 if BR2_ROOTFS_SKELETON_DEFAULT
178
179 config BR2_TARGET_GENERIC_ROOT_PASSWD
180         string "Root password"
181         default ""
182         help
183           Set the initial root password (in clear). It will be md5-encrypted.
184
185           If set to empty (the default), then no root password will be set,
186           and root will need no password to log in.
187
188           WARNING! WARNING!
189           Although pretty strong, MD5 is now an old hash function, and
190           suffers from some weaknesses, which makes it susceptible to attacks.
191           It is showing its age, so this root password should not be trusted
192           to properly secure any product that can be shipped to the wide,
193           hostile world.
194
195           WARNING! WARNING!
196           The password appears in clear in the .config file, and may appear
197           in the build log! Avoid using a valuable password if either the
198           .config file or the build log may be distributed!
199
200 choice
201         bool "/bin/sh"
202         default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX
203         help
204           Select which shell will provide /bin/sh.
205
206 # busybox has shells that work on noMMU
207 config BR2_SYSTEM_BIN_SH_BUSYBOX
208         bool "busybox' default shell"
209         depends on BR2_PACKAGE_BUSYBOX
210
211 config BR2_SYSTEM_BIN_SH_BASH
212         bool "bash"
213         depends on BR2_USE_MMU # bash
214         depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
215         select BR2_PACKAGE_BASH
216
217 config BR2_SYSTEM_BIN_SH_DASH
218         bool "dash"
219         depends on BR2_USE_MMU # dash
220         depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
221         select BR2_PACKAGE_DASH
222
223 config BR2_SYSTEM_BIN_SH_ZSH
224         bool "zsh"
225         depends on BR2_USE_MMU # zsh
226         depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
227         select BR2_PACKAGE_ZSH
228
229 comment "bash, dash, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS"
230         depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS && BR2_PACKAGE_BUSYBOX
231
232 config BR2_SYSTEM_BIN_SH_NONE
233         bool "none"
234
235 endchoice # /bin/sh
236
237 config BR2_SYSTEM_BIN_SH
238         string
239         default "/bin/busybox" if BR2_SYSTEM_BIN_SH_BUSYBOX
240         default "/bin/bash"    if BR2_SYSTEM_BIN_SH_BASH
241         default "/bin/dash"    if BR2_SYSTEM_BIN_SH_DASH
242         default "/bin/zsh"     if BR2_SYSTEM_BIN_SH_ZSH
243
244 config BR2_TARGET_GENERIC_GETTY
245         bool "Run a getty (login prompt) after boot"
246         default y
247
248 if BR2_TARGET_GENERIC_GETTY
249 menu "getty options"
250 config BR2_TARGET_GENERIC_GETTY_PORT
251         string "TTY port"
252         default "console"
253         help
254           Specify a port to run a getty on.
255
256 choice
257         prompt "Baudrate"
258         default BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
259         help
260           Select a baudrate to use.
261
262 config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
263         bool "keep kernel default"
264 config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
265         bool "9600"
266 config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
267         bool "19200"
268 config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
269         bool "38400"
270 config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
271         bool "57600"
272 config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
273         bool "115200"
274 endchoice
275
276 config BR2_TARGET_GENERIC_GETTY_BAUDRATE
277         string
278         default "0"             if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
279         default "9600"          if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
280         default "19200"         if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
281         default "38400"         if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
282         default "57600"         if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
283         default "115200"        if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
284
285 config BR2_TARGET_GENERIC_GETTY_TERM
286         string "TERM environment variable"
287         default "vt100"
288         help
289           Specify a TERM type.
290
291 config BR2_TARGET_GENERIC_GETTY_OPTIONS
292         string "other options to pass to getty"
293         default ""
294         help
295           Any other flags you want to pass to getty,
296           Refer to getty --help for details.
297 endmenu
298 endif
299
300 config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
301         bool "remount root filesystem read-write during boot"
302         default y
303         help
304           The root filesystem is typically mounted read-only at boot.
305           By default, buildroot remounts it in read-write mode early during the
306           boot process.
307           Say no here if you would rather like your root filesystem to remain
308           read-only.
309           If unsure, say Y.
310
311 endif # BR2_ROOTFS_SKELETON_DEFAULT
312
313
314 config BR2_SYSTEM_DHCP
315         string "Network interface to configure through DHCP"
316         default ""
317         depends on !BR2_PACKAGE_SYSTEMD_NETWORKD && (BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN)
318         help
319           Enter here the name of the network interface (E.G. eth0) to
320           automatically configure through DHCP at bootup.
321
322           If left empty, no automatic DHCP requests will take place.
323
324           For more complicated network setups use an overlay to overwrite
325           /etc/network/interfaces or add a networkd configuration file.
326
327 comment "automatic network configuration via DHCP is not compatible with networkd"
328         depends on BR2_PACKAGE_SYSTEMD_NETWORKD
329
330 comment "automatic network configuration via DHCP needs ifupdown or busybox"
331         depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN)
332
333 config BR2_TARGET_TZ_INFO
334         bool "Install timezone info"
335         # No timezone for musl; only for uClibc or (e)glibc.
336         depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
337         select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
338         select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
339         help
340           Say 'y' here to install timezone info.
341
342 if BR2_TARGET_TZ_INFO
343
344 config BR2_TARGET_TZ_ZONELIST
345         string "timezone list"
346         default "default"
347         help
348           Space-separated list of time zones to compile.
349
350           The value "default" includes all commonly used time zones. Note
351           that this set consumes around 5.5M for (e)glibc and 2.1M for uClibc.
352
353           The full list is the list of files in the time zone database source,
354           not including the build and .tab files.
355
356 config BR2_TARGET_LOCALTIME
357         string "default local time"
358         default "Etc/UTC"
359         help
360           The time zone to install as the default local time, expressed as a
361           tzdata location, such as:
362             GMT
363             Europe/Paris
364             America/New_York
365             Pacific/Wallis
366             ...
367
368           If empty, no local time will be set, and the dates will be
369           expressed in UTC.
370
371 endif # BR2_TARGET_TZ_INFO
372
373 config BR2_ROOTFS_USERS_TABLES
374         string "Path to the users tables"
375         help
376           Specify a space-separated list of users table locations,
377           that will be passed to the mkusers utility to create
378           users on the system, with home directory, password, etc.
379
380           See manual for details on the usage and syntax of these files.
381
382 config BR2_ROOTFS_OVERLAY
383         string "Root filesystem overlay directories"
384         default ""
385         help
386           Specify a list of directories that are copied over the target
387           root filesystem after the build has finished and before it is
388           packed into the selected filesystem images.
389
390           They are copied as-is into the rootfs, excluding files ending with
391           ~ and .git, .svn and .hg directories.
392
393 config BR2_ROOTFS_POST_BUILD_SCRIPT
394         string "Custom scripts to run before creating filesystem images"
395         default ""
396         help
397           Specify a space-separated list of scripts to be run after the build
398           has finished and before Buildroot starts packing the files into
399           selected filesystem images.
400
401           This gives users the opportunity to do board-specific cleanups,
402           add-ons and the like, so the generated files can be used directly
403           without further processing.
404
405           These scripts are called with the target directory name as first
406           argument. Make sure the exit code of those scripts are 0, otherwise
407           make will stop after calling them.
408
409 config BR2_ROOTFS_POST_IMAGE_SCRIPT
410         string "Custom scripts to run after creating filesystem images"
411         default ""
412         help
413           Specify a space-separated list of scripts to be run after
414           the build has finished and after Buildroot has packed the
415           files into selected filesystem images.
416
417           This can for example be used to call a tool building a
418           firmware image from different images generated by Buildroot,
419           or automatically extract the tarball root filesystem image
420           into some location exported by NFS, or any other custom
421           action.
422
423           These scripts are called with the images directory name as
424           first argument. The script is executed from the main Buildroot
425           source directory as the current directory.
426
427 config BR2_ROOTFS_POST_SCRIPT_ARGS
428         string "Extra post-{build,image} arguments"
429         depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" || BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
430         help
431           Pass these additional arguments to each post-build or post-image
432           scripts.
433
434           Note that all the post-build and post-image scripts will be passed
435           the same set of arguments, you can not pass different arguments to
436           each script.
437
438           Note also, as stated in their respective help text, that the first
439           argument to each post-build or post-image script is the target
440           directory / images directory. The arguments in this option will be
441           passed *after* those.
442
443 endmenu