commit e1bc62ec78acc46e723b0fb86d81f2ce69f4c0c5
parent d44e4fce114a4b06f8f2a09fd8b5ed383513de1a
Author: root <root@dorje.v103.te2000>
Date: Wed, 13 Jul 2022 19:41:59 +0000
Print boot start message
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/install b/install
@@ -31,6 +31,7 @@ qc=$q_package/command
"$cmd/s6-cat" >"$dst/init/scripts/rc.init" <<EOF || exit $?
#!$sm_dst_package/command/execlineb -S1
$qc/export TERM "linux"
+$qc/foreground { $qc/s6-echo "* Starting s6-rc from "$q_all/s6-rc-db }
$qc/if { $qc/s6-rc-init -d -c $q_all/s6-rc-db /run/service }
$q_all/init/scripts/runlevel \$1
EOF
@@ -68,6 +69,6 @@ EOF
$qc/redirfd -w 1 /dev/console
$qc/fdmove -c 2 1
$qc/pipeline -w { s6-tai64nlocal }
-tail -F /run/uncaught-logs/current
+tail -F -n +1 /run/uncaught-logs/current
EOF
"$cmd/s6-chmod" 755 "$dst/init/run-image/service/console-log-tail/run" exit $?