aboutsummaryrefslogtreecommitdiff
path: root/core/busybox
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-21 15:25:57 +0300
committerCem Keylan <cem@ckyln.com>2020-03-21 23:18:11 +0300
commit4010357362bf056a308e24e527171f4faa5018e3 (patch)
tree24278883e2ef8f1abbc42eeaf01ee4627bbd1a4b /core/busybox
parent5a43745962c63efa64bc6295131d3f0d5690181e (diff)
downloadrepository-4010357362bf056a308e24e527171f4faa5018e3.tar.gz
busybox: build init on the busybox package
Diffstat (limited to 'core/busybox')
-rwxr-xr-xcore/busybox/build3
-rw-r--r--core/busybox/checksums3
-rw-r--r--core/busybox/files/.config24
-rw-r--r--core/busybox/files/inittab3
-rw-r--r--core/busybox/sources1
5 files changed, 21 insertions, 13 deletions
diff --git a/core/busybox/build b/core/busybox/build
index df55d5cb..cf68c6aa 100755
--- a/core/busybox/build
+++ b/core/busybox/build
@@ -43,3 +43,6 @@ ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"
# Install ntp config
install -Dm644 ntp.conf "$1/etc/ntp.conf"
+
+# Install inittab
+install -Dm644 inittab "$1/etc/inittab"
diff --git a/core/busybox/checksums b/core/busybox/checksums
index d549ba88..f0da5371 100644
--- a/core/busybox/checksums
+++ b/core/busybox/checksums
@@ -1,8 +1,9 @@
d0f940a72f648943c1f2211e0e3117387c31d765137d92bd8284a3fb9752a998 busybox-1.31.1.tar.bz2
-84ecfd136bfc7ca6b12137f16683f83f81a0d11feee69a8d871f61209524aac3 .config
+1739cac830d90018e007b64c4af8775f8c2f7219c6fbaf6dcf96ff54aec255bc .config
1e802166c267f87b4fa0fbb00231fda211467675ffd5acdc5649be2030d19d5f .config-suid
ebd61afac770d3d9cae5c411f44002496fb18b28cf7b77520072a3909852246e acpid.run
814dea14ac612125e97dcc1d619219b2c9dfc14850bf48d858421fb2c98eca12 crond.run
+c8b3502bf493336542247683f8d291753130141e5b20ecfda7077936751e83a7 inittab
fc36020a1043587fc45427d02dea356c9c892571baabe2b50ce328aaab5f6400 ntpd.run
4a5981f4b0d791fe9b84b0b2e01ae905f6565c8245b3cd603e6decf34ddad71a syslogd.run
2c6012579f669ea790785bb522a879a2005aad0d7977f96863918d3ed3cb03dd ntp.conf
diff --git a/core/busybox/files/.config b/core/busybox/files/.config
index 9b911555..d05bae14 100644
--- a/core/busybox/files/.config
+++ b/core/busybox/files/.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.31.1
-# Tue Feb 18 13:27:58 2020
+# Sat Mar 21 14:33:16 2020
#
CONFIG_HAVE_DOT_CONFIG=y
@@ -485,23 +485,23 @@ CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y
# CONFIG_BOOTCHARTD is not set
# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set
# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set
-# CONFIG_HALT is not set
-# CONFIG_POWEROFF is not set
-# CONFIG_REBOOT is not set
-# CONFIG_FEATURE_WAIT_FOR_INIT is not set
+CONFIG_HALT=y
+CONFIG_POWEROFF=y
+CONFIG_REBOOT=y
+CONFIG_FEATURE_WAIT_FOR_INIT=y
# CONFIG_FEATURE_CALL_TELINIT is not set
CONFIG_TELINIT_PATH=""
-# CONFIG_INIT is not set
+CONFIG_INIT=y
# CONFIG_LINUXRC is not set
-# CONFIG_FEATURE_USE_INITTAB is not set
+CONFIG_FEATURE_USE_INITTAB=y
# CONFIG_FEATURE_KILL_REMOVED is not set
CONFIG_FEATURE_KILL_DELAY=0
-# CONFIG_FEATURE_INIT_SCTTY is not set
-# CONFIG_FEATURE_INIT_SYSLOG is not set
-# CONFIG_FEATURE_INIT_QUIET is not set
+CONFIG_FEATURE_INIT_SCTTY=y
+CONFIG_FEATURE_INIT_SYSLOG=y
+CONFIG_FEATURE_INIT_QUIET=y
# CONFIG_FEATURE_INIT_COREDUMPS is not set
-CONFIG_INIT_TERMINAL_TYPE=""
-# CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set
+CONFIG_INIT_TERMINAL_TYPE="linux"
+CONFIG_FEATURE_INIT_MODIFY_CMDLINE=y
#
# Login/Password Management Utilities
diff --git a/core/busybox/files/inittab b/core/busybox/files/inittab
new file mode 100644
index 00000000..62cf6cc9
--- /dev/null
+++ b/core/busybox/files/inittab
@@ -0,0 +1,3 @@
+::sysinit:/usr/lib/init/rc.boot
+::restart:/sbin/init
+::shutdown:/usr/lib/init/rc.shutdown
diff --git a/core/busybox/sources b/core/busybox/sources
index c52e3d97..d54591c8 100644
--- a/core/busybox/sources
+++ b/core/busybox/sources
@@ -3,6 +3,7 @@ files/.config
files/.config-suid
files/acpid.run
files/crond.run
+files/inittab
files/ntpd.run
files/syslogd.run
files/ntp.conf