Skip to contentSkip to conversation

busybox: move init related configs to init.cfg

PATCH In review Chen Qi 1 participant 3 messages Jul 30, 2018 – Aug 6, 2018

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover busybox: move init related configs to init.cfg

The following changes since commit 1b56227d77d3113c9c17ec35cb7849a768078c4e:

classes/package: fix variable name in comment (2018-07-26 17:14:42 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/busybox-init
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/busybox-init

Chen Qi (1):
busybox: move init related configs to init.cfg

 meta/recipes-core/busybox/busybox/defconfig | 12 ++++++------
 meta/recipes-core/busybox/busybox/init.cfg  |  7 ++++++-
 2 files changed, 12 insertions(+), 7 deletions(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 busybox: move init related configs to init.cfg

Move init related configs to init.cfg.

These config items do not make much sense unless busybox is selected as the init manager. They should belong to init.cfg.

---
 meta/recipes-core/busybox/busybox/defconfig | 12 ++++++------
 meta/recipes-core/busybox/busybox/init.cfg  |  7 ++++++-
 2 files changed, 12 insertions(+), 7 deletions(-)
meta/recipes-core/busybox/busybox/defconfig +6 -6
index fbb5fd8..59d93c7 100644
@@ -468,21 +468,21 @@ CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y
 # CONFIG_BOOTCHARTD is not set
 # CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set
 # CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set
-CONFIG_HALT=y
-CONFIG_POWEROFF=y
-CONFIG_REBOOT=y
+# CONFIG_HALT is not set
+# CONFIG_POWEROFF is not set
+# CONFIG_REBOOT is not set
 # CONFIG_FEATURE_CALL_TELINIT is not set
-CONFIG_TELINIT_PATH=""
+# CONFIG_TELINIT_PATH is not set
 # CONFIG_INIT is not set
 # CONFIG_LINUXRC is not set
 # CONFIG_FEATURE_USE_INITTAB is not set
 # CONFIG_FEATURE_KILL_REMOVED is not set
-CONFIG_FEATURE_KILL_DELAY=0
+# CONFIG_FEATURE_KILL_DELAY is not set
 # CONFIG_FEATURE_INIT_SCTTY is not set
 # CONFIG_FEATURE_INIT_SYSLOG is not set
 # CONFIG_FEATURE_INIT_QUIET is not set
 # CONFIG_FEATURE_INIT_COREDUMPS is not set
-CONFIG_INIT_TERMINAL_TYPE=""
+# CONFIG_INIT_TERMINAL_TYPE is not set
 # CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set
 
 #
meta/recipes-core/busybox/busybox/init.cfg +6 -1
index 006d4c6..3c1fdd4 100644
@@ -1,3 +1,8 @@
 CONFIG_INIT=y
 CONFIG_FEATURE_USE_INITTAB=y
-
+CONFIG_HALT=y
+CONFIG_POWEROFF=y
+CONFIG_REBOOT=y
+CONFIG_FEATURE_KILL_DELAY=0
+CONFIG_TELINIT_PATH=""
+CONFIG_INIT_TERMINAL_TYPE=""
Signature · 1 line
1.9.1
author
#2 lore raw

ping

Quoted 57 lines · Chen Qi

Move init related configs to init.cfg.

These config items do not make much sense unless busybox is selected as the init manager. They should belong to init.cfg.

---
  meta/recipes-core/busybox/busybox/defconfig | 12 ++++++------
  meta/recipes-core/busybox/busybox/init.cfg  |  7 ++++++-
  2 files changed, 12 insertions(+), 7 deletions(-)
meta/recipes-core/busybox/busybox/defconfig +6 -6
index fbb5fd8..59d93c7 100644
@@ -468,21 +468,21 @@ CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y
  # CONFIG_BOOTCHARTD is not set
  # CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set
  # CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set
-CONFIG_HALT=y
-CONFIG_POWEROFF=y
-CONFIG_REBOOT=y
+# CONFIG_HALT is not set
+# CONFIG_POWEROFF is not set
+# CONFIG_REBOOT is not set
  # CONFIG_FEATURE_CALL_TELINIT is not set
-CONFIG_TELINIT_PATH=""
+# CONFIG_TELINIT_PATH is not set
  # CONFIG_INIT is not set
  # CONFIG_LINUXRC is not set
  # CONFIG_FEATURE_USE_INITTAB is not set
  # CONFIG_FEATURE_KILL_REMOVED is not set
-CONFIG_FEATURE_KILL_DELAY=0
+# CONFIG_FEATURE_KILL_DELAY is not set
  # CONFIG_FEATURE_INIT_SCTTY is not set
  # CONFIG_FEATURE_INIT_SYSLOG is not set
  # CONFIG_FEATURE_INIT_QUIET is not set
  # CONFIG_FEATURE_INIT_COREDUMPS is not set
-CONFIG_INIT_TERMINAL_TYPE=""
+# CONFIG_INIT_TERMINAL_TYPE is not set
  # CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set
 
  #
meta/recipes-core/busybox/busybox/init.cfg +6 -1
index 006d4c6..3c1fdd4 100644
@@ -1,3 +1,8 @@
  CONFIG_INIT=y
  CONFIG_FEATURE_USE_INITTAB=y
-
+CONFIG_HALT=y
+CONFIG_POWEROFF=y
+CONFIG_REBOOT=y
+CONFIG_FEATURE_KILL_DELAY=0
+CONFIG_TELINIT_PATH=""
+CONFIG_INIT_TERMINAL_TYPE=""