Config.in 19 KB

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