Config.in 19 KB

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