aboutsummaryrefslogtreecommitdiff
path: root/core/busybox-init
diff options
context:
space:
mode:
Diffstat (limited to 'core/busybox-init')
-rwxr-xr-xcore/busybox-init/build2
-rw-r--r--core/busybox-init/checksums1
-rw-r--r--core/busybox-init/files/inittab11
-rw-r--r--core/busybox-init/sources1
-rw-r--r--core/busybox-init/version2
5 files changed, 16 insertions, 1 deletions
diff --git a/core/busybox-init/build b/core/busybox-init/build
index e3955e93..d1b6e283 100755
--- a/core/busybox-init/build
+++ b/core/busybox-init/build
@@ -10,3 +10,5 @@ mv "$1/usr/bin/busybox" "$1/usr/bin/busybox-init"
"$1/usr/bin/busybox-init" --list | while read -r bin; do
ln -s busybox-init "$1/usr/bin/$bin"
done
+
+install -Dm644 inittab "$1/etc/inittab"
diff --git a/core/busybox-init/checksums b/core/busybox-init/checksums
index a4a5fd0d..6c6940fb 100644
--- a/core/busybox-init/checksums
+++ b/core/busybox-init/checksums
@@ -1,2 +1,3 @@
d0f940a72f648943c1f2211e0e3117387c31d765137d92bd8284a3fb9752a998 busybox-1.31.1.tar.bz2
24d8b05873e6a59c30cf66e3387e387965fb3cc2143ebba8a0d1b92a796d5cbe .config
+cdd4890a51a959816b6e8125f4e299d331fc5753b5df5d1f5d98252e01a341d9 inittab
diff --git a/core/busybox-init/files/inittab b/core/busybox-init/files/inittab
new file mode 100644
index 00000000..a51a9a75
--- /dev/null
+++ b/core/busybox-init/files/inittab
@@ -0,0 +1,11 @@
+::sysinit:/usr/lib/init/rc.boot
+::restart:/sbin/init
+::shutdown:/usr/lib/init/rc.shutdown
+::respawn:runsvdir -P /var/service 'log: ................................................................................................................................................................................................................................................................'
+
+tty1::respawn:/sbin/agetty 38400 tty1
+tty2::respawn:/sbin/agetty 38400 tty2
+tty3::respawn:/sbin/agetty 38400 tty3
+tty4::respawn:/sbin/agetty 38400 tty4
+tty5::respawn:/sbin/agetty 38400 tty5
+tty6::respawn:/sbin/agetty 38400 tty6
diff --git a/core/busybox-init/sources b/core/busybox-init/sources
index 6751ced1..c057f52b 100644
--- a/core/busybox-init/sources
+++ b/core/busybox-init/sources
@@ -1,2 +1,3 @@
https://busybox.net/downloads/busybox-1.31.1.tar.bz2
files/.config
+files/inittab
diff --git a/core/busybox-init/version b/core/busybox-init/version
index 0e783297..009c2eaa 100644
--- a/core/busybox-init/version
+++ b/core/busybox-init/version
@@ -1 +1 @@
-1.31.1 3
+1.31.1 4