aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/config/init
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2019-02-27 03:23:45 +0000
committerYousong Zhou <yszhou4tech@gmail.com>2019-03-01 08:09:41 +0000
commiteb6f5a58b904814f9a73281949f32f04c190d727 (patch)
tree2aae8c89eda14c375baa4a25e139c8788ca80364 /package/utils/busybox/config/init
parent157072ea2b7bdbe8de1339936a5933061a27e67a (diff)
downloadupstream-eb6f5a58b904814f9a73281949f32f04c190d727.tar.gz
upstream-eb6f5a58b904814f9a73281949f32f04c190d727.tar.bz2
upstream-eb6f5a58b904814f9a73281949f32f04c190d727.zip
busybox: sync Config.in files
The change was made with the following commands cd package/utils/busybox/config ../convert_menuconfig.pl ~/git-repo/openwrt/openwrt/build_dir/target-mips_24kc_musl/busybox-1.30.1 convert_defaults.pl has no changes other than overwriting defaults for BUSYBOX_DEFAULT_FEATURE_IPV6 Resolves FS#2146 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'package/utils/busybox/config/init')
-rw-r--r--package/utils/busybox/config/init/Config.in35
1 files changed, 23 insertions, 12 deletions
diff --git a/package/utils/busybox/config/init/Config.in b/package/utils/busybox/config/init/Config.in
index 00eb6175d1..fc6c916a68 100644
--- a/package/utils/busybox/config/init/Config.in
+++ b/package/utils/busybox/config/init/Config.in
@@ -1,13 +1,13 @@
# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
-# see scripts/kbuild/config-language.txt.
+# see docs/Kconfig-language.txt.
#
menu "Init Utilities"
config BUSYBOX_CONFIG_BOOTCHARTD
- bool "bootchartd"
+ bool "bootchartd (10 kb)"
default BUSYBOX_DEFAULT_BOOTCHARTD
help
bootchartd is commonly used to profile the boot process
@@ -27,12 +27,12 @@ config BUSYBOX_CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER
help
Create extended header file compatible with "big" bootchartd.
"Big" bootchartd is a shell script and it dumps some
- "convenient" info int the header, such as:
- title = Boot chart for `hostname` (`date`)
- system.uname = `uname -srvm`
- system.release = `cat /etc/DISTRO-release`
- system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
- system.kernel.options = `cat /proc/cmdline`
+ "convenient" info into the header, such as:
+ title = Boot chart for `hostname` (`date`)
+ system.uname = `uname -srvm`
+ system.release = `cat /etc/DISTRO-release`
+ system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
+ system.kernel.options = `cat /proc/cmdline`
This data is not mandatory for bootchart graph generation,
and is considered bloat. Nevertheless, this option
makes bootchartd applet to dump a subset of it.
@@ -45,23 +45,34 @@ config BUSYBOX_CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE
Enable reading and parsing of $PWD/bootchartd.conf
and /etc/bootchartd.conf files.
config BUSYBOX_CONFIG_HALT
- bool "halt"
+ bool "halt (4 kb)"
default BUSYBOX_DEFAULT_HALT
help
Stop all processes and halt the system.
config BUSYBOX_CONFIG_POWEROFF
- bool "poweroff"
+ bool "poweroff (4 kb)"
default BUSYBOX_DEFAULT_POWEROFF
help
Stop all processes and power off the system.
config BUSYBOX_CONFIG_REBOOT
- bool "reboot"
+ bool "reboot (4 kb)"
default BUSYBOX_DEFAULT_REBOOT
help
Stop all processes and reboot the system.
+config BUSYBOX_CONFIG_FEATURE_WAIT_FOR_INIT
+ bool "Before signaling init, make sure it is ready for it"
+ default BUSYBOX_DEFAULT_FEATURE_WAIT_FOR_INIT
+ depends on BUSYBOX_CONFIG_HALT || BUSYBOX_CONFIG_POWEROFF || BUSYBOX_CONFIG_REBOOT
+ help
+ In rare cases, poweroff may be commanded by firmware to OS
+ even before init process exists. On Linux, this spawns
+ "/sbin/poweroff" very early. This option adds code
+ which checks that init is ready to receive poweroff
+ commands. Code size increase of ~80 bytes.
+
config BUSYBOX_CONFIG_FEATURE_CALL_TELINIT
bool "Call telinit on shutdown and reboot"
default BUSYBOX_DEFAULT_FEATURE_CALL_TELINIT
@@ -82,7 +93,7 @@ config BUSYBOX_CONFIG_TELINIT_PATH
to facilitate proper shutdown, this path is to be used when
locating telinit executable.
config BUSYBOX_CONFIG_INIT
- bool "init"
+ bool "init (10 kb)"
default BUSYBOX_DEFAULT_INIT
select BUSYBOX_CONFIG_FEATURE_SYSLOG
help