diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-12 04:18:05 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-12 04:18:05 +0200 |
commit | d4d289acf5eb59ebae414f9aae8a74de30dce36a (patch) | |
tree | 7a7c261ce263eeb15d152a904936d55c41858b5e /Config.in | |
parent | b1993380ba4a89062a08b2b6c579158aa667759e (diff) | |
download | busybox-w32-d4d289acf5eb59ebae414f9aae8a74de30dce36a.tar.gz busybox-w32-d4d289acf5eb59ebae414f9aae8a74de30dce36a.tar.bz2 busybox-w32-d4d289acf5eb59ebae414f9aae8a74de30dce36a.zip |
tweaks to build system, mainly making menuconfig text and order clearer
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 61 |
1 files changed, 34 insertions, 27 deletions
@@ -123,6 +123,14 @@ config FEATURE_INSTALLER | |||
123 | busybox at runtime to create hard links or symlinks for all the | 123 | busybox at runtime to create hard links or symlinks for all the |
124 | applets that are compiled into busybox. | 124 | applets that are compiled into busybox. |
125 | 125 | ||
126 | config INSTALL_NO_USR | ||
127 | bool "Don't use /usr" | ||
128 | default n | ||
129 | depends on FEATURE_INSTALLER | ||
130 | help | ||
131 | Disable use of /usr. busybox --install will install applets | ||
132 | only to /bin and /sbin, never to /usr/bin or /usr/sbin. | ||
133 | |||
126 | config LOCALE_SUPPORT | 134 | config LOCALE_SUPPORT |
127 | bool "Enable locale support (system needs locale for this to work)" | 135 | bool "Enable locale support (system needs locale for this to work)" |
128 | default n | 136 | default n |
@@ -275,15 +283,6 @@ config FEATURE_CLEAN_UP | |||
275 | Don't enable this unless you have a really good reason to clean | 283 | Don't enable this unless you have a really good reason to clean |
276 | things up manually. | 284 | things up manually. |
277 | 285 | ||
278 | config FEATURE_UTMP | ||
279 | bool "Support utmp file" | ||
280 | default y | ||
281 | help | ||
282 | The file /var/run/utmp is used to track who is currently logged in. | ||
283 | With this option on, certain applets (getty, login, telnetd etc) | ||
284 | will create and delete entries there. | ||
285 | "who" applet requires this option. | ||
286 | |||
287 | config FEATURE_WTMP | 286 | config FEATURE_WTMP |
288 | bool "Support wtmp file" | 287 | bool "Support wtmp file" |
289 | default y | 288 | default y |
@@ -295,6 +294,15 @@ config FEATURE_WTMP | |||
295 | will append new entries there. | 294 | will append new entries there. |
296 | "last" applet requires this option. | 295 | "last" applet requires this option. |
297 | 296 | ||
297 | config FEATURE_UTMP | ||
298 | bool "Support utmp file" | ||
299 | default y | ||
300 | help | ||
301 | The file /var/run/utmp is used to track who is currently logged in. | ||
302 | With this option on, certain applets (getty, login, telnetd etc) | ||
303 | will create and delete entries there. | ||
304 | "who" applet requires this option. | ||
305 | |||
298 | config FEATURE_PIDFILE | 306 | config FEATURE_PIDFILE |
299 | bool "Support writing pidfiles" | 307 | bool "Support writing pidfiles" |
300 | default y | 308 | default y |
@@ -307,14 +315,19 @@ config FEATURE_SUID | |||
307 | default y | 315 | default y |
308 | help | 316 | help |
309 | With this option you can install the busybox binary belonging | 317 | With this option you can install the busybox binary belonging |
310 | to root with the suid bit set, and it will automatically drop | 318 | to root with the suid bit set, enabling some applets to perform |
311 | priviledges for applets that don't need root access. | 319 | root-level operations even when run by ordinary users |
320 | (for example, mounting of user mounts in fstab needs this). | ||
321 | |||
322 | Busybox will automatically drop priviledges for applets | ||
323 | that don't need root access. | ||
312 | 324 | ||
313 | If you are really paranoid and don't want to do this, build two | 325 | If you are really paranoid and don't want to do this, build two |
314 | busybox binaries with different applets in them (and the appropriate | 326 | busybox binaries with different applets in them (and the appropriate |
315 | symlinks pointing to each binary), and only set the suid bit on the | 327 | symlinks pointing to each binary), and only set the suid bit on the |
316 | one that needs it. The applets currently marked to need the suid bit | 328 | one that needs it. |
317 | are: | 329 | |
330 | The applets currently marked to need the suid bit are: | ||
318 | 331 | ||
319 | crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su, | 332 | crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su, |
320 | traceroute, vlock. | 333 | traceroute, vlock. |
@@ -651,20 +664,13 @@ endchoice | |||
651 | 664 | ||
652 | endmenu | 665 | endmenu |
653 | 666 | ||
654 | menu 'Installation Options' | 667 | menu 'Installation Options ("make install" behavior)' |
655 | |||
656 | config INSTALL_NO_USR | ||
657 | bool "Don't use /usr" | ||
658 | default n | ||
659 | help | ||
660 | Disable use of /usr. Don't activate this option if you don't know | ||
661 | that you really want this behaviour. | ||
662 | 668 | ||
663 | choice | 669 | choice |
664 | prompt "Applets links" | 670 | prompt "What kind of applet links to install" |
665 | default INSTALL_APPLET_SYMLINKS | 671 | default INSTALL_APPLET_SYMLINKS |
666 | help | 672 | help |
667 | Choose how you install applets links. | 673 | Choose what kind of links to applets are created by "make install". |
668 | 674 | ||
669 | config INSTALL_APPLET_SYMLINKS | 675 | config INSTALL_APPLET_SYMLINKS |
670 | bool "as soft-links" | 676 | bool "as soft-links" |
@@ -688,8 +694,9 @@ config INSTALL_APPLET_DONT | |||
688 | bool "not installed" | 694 | bool "not installed" |
689 | depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS | 695 | depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS |
690 | help | 696 | help |
691 | Do not install applet links. Useful when using the -install feature | 697 | Do not install applet links. Useful when you plan to use |
692 | or a standalone shell for rescue purposes. | 698 | busybox --install for installing links, or plan to use |
699 | a standalone shell and thus don't need applet links. | ||
693 | 700 | ||
694 | endchoice | 701 | endchoice |
695 | 702 | ||
@@ -713,8 +720,8 @@ config INSTALL_SH_APPLET_HARDLINK | |||
713 | config INSTALL_SH_APPLET_SCRIPT_WRAPPER | 720 | config INSTALL_SH_APPLET_SCRIPT_WRAPPER |
714 | bool "as script wrapper" | 721 | bool "as script wrapper" |
715 | help | 722 | help |
716 | Install /bin/sh applet as script wrapper that call the busybox | 723 | Install /bin/sh applet as script wrapper that calls |
717 | binary. | 724 | the busybox binary. |
718 | 725 | ||
719 | endchoice | 726 | endchoice |
720 | 727 | ||