xref: /OK3568_Linux_fs/buildroot/system/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1menu "System configuration"
2
3# Note on package/skeleton: usually, it is not safe to 'select' a
4# provider of a virtual package. But below we have an exception: each
5# init system may select one of the virtual skeleton-init-* packages.
6# As only one init system may be enabled, only one skeleton-init-* may
7# be selected. So this is a safe situation.
8choice
9	prompt "Root FS skeleton"
10
11config BR2_ROOTFS_SKELETON_DEFAULT
12	bool "default target skeleton"
13	help
14	  Use default target skeleton for selected init system.
15
16config BR2_ROOTFS_SKELETON_CUSTOM
17	bool "custom target skeleton"
18	select BR2_PACKAGE_SKELETON_CUSTOM
19	help
20	  Use custom target skeleton.
21
22# skeleton from br2-external trees, if any
23source "$BR2_BASE_DIR/.br2-external.in.skeleton"
24
25endchoice
26
27if BR2_ROOTFS_SKELETON_CUSTOM
28
29config BR2_ROOTFS_SKELETON_CUSTOM_PATH
30	string "custom target skeleton path"
31	help
32	  Path to custom target skeleton.
33
34endif
35
36if BR2_ROOTFS_SKELETON_DEFAULT
37
38config BR2_TARGET_GENERIC_HOSTNAME
39	string "System hostname"
40	default "buildroot"
41	help
42	  Select system hostname to be stored in /etc/hostname.
43
44	  Leave empty to not create /etc/hostname, or to keep the
45	  one from a custom skeleton.
46
47config BR2_TARGET_GENERIC_ISSUE
48	string "System banner"
49	default "Welcome to Buildroot"
50	help
51	  Select system banner (/etc/issue) to be displayed at login.
52
53	  Leave empty to not create /etc/issue, or to keep the
54	  one from a custom skeleton.
55
56endif
57
58choice
59	bool "Passwords encoding"
60	default BR2_TARGET_GENERIC_PASSWD_SHA256
61	help
62	  Choose the password encoding scheme to use when Buildroot
63	  needs to encode a password (eg. the root password, below).
64
65	  Note: this is used at build-time, and *not* at runtime.
66
67config BR2_TARGET_GENERIC_PASSWD_SHA256
68	bool "sha-256"
69	help
70	  Use SHA256 to encode passwords which is stronger than MD5.
71
72config BR2_TARGET_GENERIC_PASSWD_SHA512
73	bool "sha-512"
74	help
75	  Use SHA512 to encode passwords which is stronger than SHA256
76
77endchoice # Passwd encoding
78
79config BR2_TARGET_GENERIC_PASSWD_METHOD
80	string
81	default "md5"       if BR2_TARGET_GENERIC_PASSWD_MD5
82	default "sha-256"   if BR2_TARGET_GENERIC_PASSWD_SHA256
83	default "sha-512"   if BR2_TARGET_GENERIC_PASSWD_SHA512
84
85# See comment at the top of the file, about selecting individual
86# skeletons, which are providers of the virtual skeleton package.
87choice
88	prompt "Init system"
89	default BR2_INIT_BUSYBOX
90
91config BR2_INIT_BUSYBOX
92	bool "BusyBox"
93	select BR2_PACKAGE_BUSYBOX
94	select BR2_PACKAGE_INITSCRIPTS
95	select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT
96
97config BR2_INIT_SYSV
98	bool "systemV"
99	depends on BR2_USE_MMU # sysvinit
100	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
101	select BR2_PACKAGE_INITSCRIPTS
102	select BR2_PACKAGE_SYSVINIT
103	select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT
104
105config BR2_INIT_OPENRC
106	bool "OpenRC"
107	depends on BR2_USE_MMU
108	depends on !BR2_STATIC_LIBS
109	select BR2_PACKAGE_OPENRC
110	select BR2_PACKAGE_SKELETON_INIT_OPENRC if BR2_ROOTFS_SKELETON_DEFAULT
111
112comment "openrc needs a toolchain w/ dynamic library"
113	depends on BR2_USE_MMU
114	depends on BR2_STATIC_LIBS
115
116# In Buildroot, we decided not to support a split-usr when systemd is
117# used as an init system. This is a design decision, not a systemd
118# issue. Thus the select is with BR2_INIT_SYSTEMD (below) rather than
119# with BR2_PACKAGE_SYSTEMD.
120config BR2_INIT_SYSTEMD
121	bool "systemd"
122	depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
123	depends on BR2_USE_MMU
124	depends on !BR2_STATIC_LIBS
125	depends on BR2_TOOLCHAIN_USES_GLIBC
126	depends on BR2_TOOLCHAIN_HAS_SSP
127	depends on BR2_TOOLCHAIN_HAS_THREADS
128	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
129	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
130	depends on BR2_HOST_GCC_AT_LEAST_5
131	select BR2_ROOTFS_MERGED_USR
132	select BR2_PACKAGE_SYSTEMD
133	select BR2_PACKAGE_SKELETON_INIT_SYSTEMD if BR2_ROOTFS_SKELETON_DEFAULT
134
135comment "systemd needs a glibc toolchain w/ SSP, headers >= 3.10, host and target gcc >= 5"
136	depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
137	depends on BR2_USE_MMU
138	depends on !BR2_TOOLCHAIN_USES_GLIBC || \
139		!BR2_TOOLCHAIN_HAS_SSP || \
140		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || \
141		!BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
142		!BR2_HOST_GCC_AT_LEAST_5
143
144config BR2_INIT_NONE
145	bool "None"
146	select BR2_PACKAGE_SKELETON_INIT_NONE if BR2_ROOTFS_SKELETON_DEFAULT
147	help
148	  Buildroot will not install any init system. You will
149	  have to provide your own, either with a new package
150	  or with a rootfs-overlay.
151
152# Init systems from br2-external trees, if any
153source "$BR2_BASE_DIR/.br2-external.in.init"
154
155endchoice
156
157config BR2_PACKAGE_SYSTEMD_DEFAULT_TARGET
158	string "The default unit systemd starts at bootup"
159	default "multi-user.target"
160	depends on BR2_INIT_SYSTEMD
161	help
162	  Specify the name of the unit configuration file to be started
163	  at bootup by systemd. Should end in ".target".
164	  ex: multi-user.target
165
166	  https://www.freedesktop.org/software/systemd/man/systemd.special.html#default.target
167
168choice
169	prompt "/dev management" if !BR2_INIT_SYSTEMD
170	default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
171
172config BR2_ROOTFS_DEVICE_CREATION_STATIC
173	bool "Static using device table"
174
175config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
176	bool "Dynamic using devtmpfs only"
177
178config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
179	bool "Dynamic using devtmpfs + mdev"
180	select BR2_PACKAGE_BUSYBOX
181
182config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
183	bool "Dynamic using devtmpfs + eudev"
184	depends on BR2_USE_WCHAR # eudev
185	depends on !BR2_STATIC_LIBS
186	depends on BR2_USE_MMU # eudev
187	select BR2_PACKAGE_EUDEV
188
189comment "eudev needs a toolchain w/ wchar, dynamic library"
190	depends on BR2_USE_MMU
191	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
192
193endchoice
194
195comment "/dev management using udev (from systemd)"
196	depends on BR2_INIT_SYSTEMD
197
198config BR2_ROOTFS_DEVICE_TABLE
199	string "Path to the permission tables"
200	default "system/device_table.txt"
201	help
202	  Specify a space-separated list of permission table locations,
203	  that will be passed to the makedevs utility to assign
204	  correct owners and permissions on various files in the
205	  target filesystem.
206
207	  See package/makedevs/README for details on the usage and
208	  syntax of these files.
209
210config BR2_ROOTFS_STATIC_DEVICE_TABLE
211	string "Path to the device tables"
212	default "system/device_table_dev.txt"
213	depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
214	help
215	  Specify a space-separated list of device table locations,
216	  that will be passed to the makedevs utility to create all
217	  the special device files under /dev.
218
219	  See package/makedevs/README for details on the usage and
220	  syntax of these files.
221
222config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES
223	bool "support extended attributes in device tables"
224	help
225	  Support extended attributes handling in device tables
226
227config BR2_ROOTFS_MERGED_USR
228	bool "Use symlinks to /usr for /bin, /sbin and /lib"
229	help
230	  If you say 'n' here, then /bin, /sbin and /lib and their
231	  counterparts in /usr will be separate directories. This
232	  is the historical UNIX way. In this case, /usr can be a
233	  filesystem on a partition separate from / .
234
235	  If you say 'y' here, then /bin, /sbin and /lib will be
236	  symlinks to their counterparts in /usr. In this case, /usr can
237	  not be a separate filesystem.
238
239if BR2_ROOTFS_SKELETON_DEFAULT
240
241config BR2_TARGET_ENABLE_ROOT_LOGIN
242	bool "Enable root login with password"
243	default y
244	select BR2_PACKAGE_HOST_MKPASSWD if BR2_TARGET_GENERIC_ROOT_PASSWD != ""
245	help
246	  Allow root to log in with a password.
247
248	  If not enabled, root will not be able to log in with a
249	  password. However, if you have an ssh server and you add an
250	  ssh key, you can still allow root to log in. Alternatively,
251	  you can use sudo to become root.
252
253config BR2_TARGET_GENERIC_ROOT_PASSWD
254	string "Root password"
255	default ""
256	depends on BR2_TARGET_ENABLE_ROOT_LOGIN
257	help
258	  Set the initial root password.
259
260	  If set to empty (the default), then no root password will be
261	  set, and root will need no password to log in.
262
263	  If the password starts with any of $1$, $5$ or $6$, it is
264	  considered to be already crypt-encoded with respectively md5,
265	  sha256 or sha512.  Any other value is taken to be a clear-text
266	  value, and is crypt-encoded as per the "Passwords encoding"
267	  scheme, above.
268
269	  Note: "$" signs in the hashed password must be doubled. For
270	  example, if the hashed password is
271	  "$1$longsalt$v35DIIeMo4yUfI23yditq0", then you must enter it
272	  as "$$1$$longsalt$$v35DIIeMo4yUfI23yditq0" (this is necessary
273	  otherwise make would attempt to interpret the $ as a variable
274	  expansion).
275
276	  WARNING! WARNING!
277	  The password appears as-is in the .config file, and may appear
278	  in the build log! Avoid using a valuable password if either
279	  the .config file or the build log may be distributed, or at
280	  the very least use a strong cryptographic hash for your
281	  password!
282
283choice
284	bool "/bin/sh"
285	default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX
286	help
287	  Select which shell will provide /bin/sh.
288
289config BR2_SYSTEM_BIN_SH_BASH
290	bool "bash"
291	depends on BR2_USE_MMU # bash
292	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
293	select BR2_PACKAGE_BASH
294
295# busybox has shells that work on noMMU
296config BR2_SYSTEM_BIN_SH_BUSYBOX
297	bool "busybox' default shell"
298	depends on BR2_PACKAGE_BUSYBOX
299
300config BR2_SYSTEM_BIN_SH_DASH
301	bool "dash"
302	depends on BR2_USE_MMU # dash
303	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
304	select BR2_PACKAGE_DASH
305
306config BR2_SYSTEM_BIN_SH_MKSH
307	bool "mksh"
308	depends on BR2_USE_MMU # mksh
309	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
310	select BR2_PACKAGE_MKSH
311
312config BR2_SYSTEM_BIN_SH_ZSH
313	bool "zsh"
314	depends on BR2_USE_MMU # zsh
315	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
316	select BR2_PACKAGE_ZSH
317
318comment "bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS"
319	depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS && BR2_PACKAGE_BUSYBOX
320
321config BR2_SYSTEM_BIN_SH_NONE
322	bool "none"
323
324endchoice # /bin/sh
325
326config BR2_SYSTEM_BIN_SH
327	string
328	default "bash"    if BR2_SYSTEM_BIN_SH_BASH
329	default "dash"    if BR2_SYSTEM_BIN_SH_DASH
330	default "mksh"    if BR2_SYSTEM_BIN_SH_MKSH
331	default "zsh"     if BR2_SYSTEM_BIN_SH_ZSH
332
333choice
334	prompt "Run a shell on serial console after boot"
335	default BR2_TARGET_SERIAL_SHELL_SH if BR2_PACKAGE_ROCKCHIP
336	help
337	  Select a shell to use.
338
339config BR2_TARGET_SERIAL_SHELL_GETTY
340	bool "/sbin/getty (login prompt)"
341	select BR2_TARGET_GENERIC_GETTY
342
343config BR2_TARGET_SERIAL_SHELL_SH
344	bool "/bin/sh"
345
346config BR2_TARGET_SERIAL_SHELL_LOGIN
347	bool "/bin/login"
348
349config BR2_TARGET_SERIAL_SHELL_NONE
350	bool "none"
351
352endchoice
353
354menuconfig BR2_TARGET_GENERIC_GETTY
355	bool "Run a getty (login prompt) after boot"
356	depends on BR2_TARGET_SERIAL_SHELL_GETTY
357
358if BR2_TARGET_GENERIC_GETTY
359config BR2_TARGET_GENERIC_GETTY_PORT
360	string "TTY port"
361	default "console"
362	help
363	  Specify a port to run a getty on.
364
365choice
366	prompt "Baudrate"
367	default BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
368	help
369	  Select a baudrate to use.
370
371config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
372	bool "keep kernel default"
373config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
374	bool "9600"
375config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
376	bool "19200"
377config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
378	bool "38400"
379config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
380	bool "57600"
381config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
382	bool "115200"
383config BR2_TARGET_GENERIC_GETTY_BAUDRATE_1500000
384	bool "1500000"
385endchoice
386
387config BR2_TARGET_GENERIC_GETTY_BAUDRATE
388	string
389	default "0"		if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
390	default "9600"		if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
391	default "19200"		if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
392	default "38400"		if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
393	default "57600"		if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
394	default "115200"	if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
395	default "1500000"	if BR2_TARGET_GENERIC_GETTY_BAUDRATE_1500000
396
397config BR2_TARGET_GENERIC_GETTY_TERM
398	string "TERM environment variable"
399	default "vt100"
400	# currently observed by all but systemd
401	depends on !BR2_INIT_SYSTEMD
402	help
403	  Specify a TERM type.
404
405config BR2_TARGET_GENERIC_GETTY_OPTIONS
406	string "other options to pass to getty"
407	default ""
408	# currently observed by all but systemd
409	depends on !BR2_INIT_SYSTEMD
410	help
411	  Any other flags you want to pass to getty,
412	  Refer to getty --help for details.
413endif
414
415config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
416	bool "remount root filesystem read-write during boot"
417	default y
418	help
419	  The root filesystem is typically mounted read-only at boot.
420	  By default, buildroot remounts it in read-write mode early
421	  during the boot process.
422	  Say no here if you would rather like your root filesystem to
423	  remain read-only.
424	  If unsure, say Y.
425
426config BR2_SYSTEM_DHCP
427	string "Network interface to configure through DHCP"
428	default ""
429	depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
430		BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC
431	help
432	  Enter here the name of the network interface (E.G. eth0) to
433	  automatically configure through DHCP at bootup.
434
435	  If left empty, no automatic DHCP requests will take place.
436
437	  For more complicated network setups use an overlay to
438	  overwrite /etc/network/interfaces or add a networkd
439	  configuration file.
440
441comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd or netifrc"
442	depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
443		BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC)
444
445endif # BR2_ROOTFS_SKELETON_DEFAULT
446
447config BR2_SYSTEM_DEFAULT_PATH
448	string "Set the system's default PATH"
449	default "/usr/bin:/usr/sbin" if BR2_ROOTFS_MERGED_USR
450	default "/bin:/sbin:/usr/bin:/usr/sbin" if !BR2_ROOTFS_MERGED_USR
451	help
452	  Sets the system's default PATH. It is being used in
453	  /etc/profile in the skeleton-init-common package and by some
454	  daemons.
455
456	  The default should work in most cases.
457
458config BR2_ENABLE_LOCALE_PURGE
459	bool "Purge unwanted locales"
460	default y
461	help
462	  Explicitly specify what locales to install on target. If N
463	  then all locales supported by packages are installed.
464
465config BR2_ENABLE_LOCALE_WHITELIST
466	string "Locales to keep"
467	default "C en_US"
468	depends on BR2_ENABLE_LOCALE_PURGE
469	help
470	  Whitespace seperated list of locales to allow on target.
471	  Locales not listed here will be removed from the target.
472	  See 'locale -a' on your host for a list of locales available
473	  on your build host, or have a look in /usr/share/locale in
474	  the target file system for available locales.
475
476	  Notice that listing a locale here doesn't guarantee that it
477	  will be available on the target - That purely depends on the
478	  support for that locale in the selected packages.
479
480config BR2_GENERATE_LOCALE
481	string "Generate locale data"
482	default ""
483	depends on \
484		(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \
485		BR2_TOOLCHAIN_USES_GLIBC
486	help
487	  Generate support for a list of locales. Locales can be
488	  specified with or without encoding, when no encoding is
489	  specified, UTF-8 is assumed. Examples of locales: en_US,
490	  fr_FR.UTF-8.
491
492config BR2_SYSTEM_ENABLE_NLS
493	bool "Enable Native Language Support (NLS)"
494	depends on BR2_USE_WCHAR
495	#  - glibc has built-in NLS support, but anyway doesn't
496	#    support static linking
497	#  - musl and uclibc support static linking, but they don't
498	#    have built-in NLS support, which is provided by the
499	#    libintl library from gettext. The fact that it is a
500	#    separate library causes too many problems for static
501	#    linking.
502	depends on !BR2_STATIC_LIBS
503	select BR2_PACKAGE_GETTEXT if !BR2_TOOLCHAIN_HAS_FULL_GETTEXT
504	help
505	  This option will enable Native Language Support, which will
506	  allow software packages to support translations.
507
508comment "NLS support needs a toolchain w/ wchar, dynamic library"
509	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
510
511config BR2_TARGET_TZ_INFO
512	bool "Install timezone info"
513	select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
514	select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_MUSL
515	select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
516	help
517	  Say 'y' here to install timezone info.
518
519if BR2_TARGET_TZ_INFO
520
521config BR2_TARGET_TZ_ZONELIST
522	string "timezone list"
523	default "default"
524	help
525	  Space-separated list of time zones to compile.
526
527	  The value "default" includes all commonly used time zones.
528	  Note that this set consumes around 5.5M for glibc and 2.1M for
529	  uClibc.
530
531	  The full list is the list of files in the time zone database
532	  source, not including the build and .tab files.
533
534config BR2_TARGET_LOCALTIME
535	string "default local time"
536	default "Etc/UTC"
537	help
538	  The time zone to install as the default local time, expressed
539	  as a tzdata location, such as:
540	    Etc/UTC             (the default)
541	    GMT
542	    Europe/Paris
543	    America/New_York
544	    Pacific/Wallis
545	    ...
546
547	  Set to empty to not install a default time zone.
548
549endif # BR2_TARGET_TZ_INFO
550
551config BR2_ROOTFS_USERS_TABLES
552	string "Path to the users tables"
553	help
554	  Specify a space-separated list of users table locations,
555	  that will be passed to the mkusers utility to create
556	  users on the system, with home directory, password, etc.
557
558	  See manual for details on the usage and syntax of these files.
559
560config BR2_ROOTFS_OVERLAY
561	string "Root filesystem overlay directories"
562	default ""
563	help
564	  Specify a list of directories that are copied over the target
565	  root filesystem after the build has finished and before it is
566	  packed into the selected filesystem images.
567
568	  They are copied as-is into the rootfs, excluding files ending
569	  with ~ and .git, .svn and .hg directories.
570
571config BR2_ROOTFS_POST_BUILD_SCRIPT
572	string "Custom scripts to run before creating filesystem images"
573	default ""
574	help
575	  Specify a space-separated list of scripts to be run after the
576	  build has finished and before Buildroot starts packing the
577	  files into selected filesystem images.
578
579	  This gives users the opportunity to do board-specific
580	  cleanups, add-ons and the like, so the generated files can be
581	  used directly without further processing.
582
583	  These scripts are called with the target directory name as
584	  first argument. Make sure the exit code of those scripts are
585	  0, otherwise make will stop after calling them.
586
587config BR2_ROOTFS_POST_FAKEROOT_SCRIPT
588	string "Custom scripts to run inside the fakeroot environment"
589	default ""
590	help
591	  Specify a space-separated list of scripts to be run at the end
592	  of the fakeroot script right before the image(s) are actually
593	  generated.
594
595	  This gives users the opportunity to do customisations of the
596	  content of the rootfs, which would otherwise require root
597	  rights.
598
599	  These scripts are called with the target directory name as
600	  first argument. The build will fail on the first scripts that
601	  exits with a non-zero exit code.
602
603	  Note that Buildroot already provides mechanisms to customise
604	  the content of the rootfs:
605
606	    - BR2_ROOTFS_STATIC_DEVICE_TABLE
607	        to create arbitrary entries statically in /dev
608
609	    - BR2_ROOTFS_DEVICE_TABLE
610	        to set arbitrary permissions as well as extended
611	        attributes (such as capabilities) on files and
612	        directories,
613
614	    - BR2_ROOTFS_USERS_TABLES:
615	        to create arbitrary users and their home directories
616
617	  It is highly recommended to use those mechanisms if possible,
618	  rather than using custom fakeroot scripts.
619
620config BR2_ROOTFS_POST_IMAGE_SCRIPT
621	string "Custom scripts to run after creating filesystem images"
622	default ""
623	help
624	  Specify a space-separated list of scripts to be run after
625	  the build has finished and after Buildroot has packed the
626	  files into selected filesystem images.
627
628	  This can for example be used to call a tool building a
629	  firmware image from different images generated by Buildroot,
630	  or automatically extract the tarball root filesystem image
631	  into some location exported by NFS, or any other custom
632	  action.
633
634	  These scripts are called with the images directory name as
635	  first argument. The script is executed from the main Buildroot
636	  source directory as the current directory.
637
638config BR2_ROOTFS_POST_SCRIPT_ARGS
639	string "Extra arguments passed to custom scripts"
640	depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" \
641		|| BR2_ROOTFS_POST_FAKEROOT_SCRIPT != "" \
642		|| BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
643	help
644	  Pass these additional arguments to each post-build or
645	  post-image scripts.
646
647	  Note that all the post-build and post-image scripts will be
648	  passed the same set of arguments, you can not pass different
649	  arguments to each script.
650
651	  Note also, as stated in their respective help text, that the
652	  first argument to each post-build or post-image script is the
653	  target directory / images directory. The arguments in this
654	  option will be passed *after* those.
655
656endmenu
657