aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-08 23:35:46 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-08 23:35:50 +0100
commit63d8cb89bcee8c0e1cd140b948b6d2ced7974677 (patch)
tree8d8d508982b41b2a85058edf75d26f4cc98b3374
parent84d0e3c62c20f0628bdd37d7e8b770bf389cf504 (diff)
downloadhurd-63d8cb89bcee8c0e1cd140b948b6d2ced7974677.tar.gz
hurd-63d8cb89bcee8c0e1cd140b948b6d2ced7974677.tar.bz2
hurd-63d8cb89bcee8c0e1cd140b948b6d2ced7974677.zip
Add some runsystem progress debug
-rw-r--r--daemons/runsystem.hurd.sh4
-rw-r--r--daemons/runsystem.hurd.sh.in4
-rw-r--r--daemons/runsystem.sh6
3 files changed, 11 insertions, 3 deletions
diff --git a/daemons/runsystem.hurd.sh b/daemons/runsystem.hurd.sh
index 261af1c2..80ff662a 100644
--- a/daemons/runsystem.hurd.sh
+++ b/daemons/runsystem.hurd.sh
@@ -56,14 +56,16 @@ singleuser ()
exit 127
}
-# Print a newline.
+# Print a newline and banner.
echo
+echo Starting runsystem
# See whether pflocal is set up already, and do so if not (install case)
#
# Normally this should be the case, but we better make sure since
# without the pflocal server, pipe(2) does not work.
if ! test -c /servers/socket/1 && command -v settrans >/dev/null ; then
+ echo Setting up pflocal
# The root filesystem should be read-only at this point.
if fsysopts / --update --writable ; then
settrans -c /servers/socket/1 /hurd/pflocal
diff --git a/daemons/runsystem.hurd.sh.in b/daemons/runsystem.hurd.sh.in
index 3d5f1f28..e1d2b4dd 100644
--- a/daemons/runsystem.hurd.sh.in
+++ b/daemons/runsystem.hurd.sh.in
@@ -56,14 +56,16 @@ singleuser ()
exit 127
}
-# Print a newline.
+# Print a newline and banner.
echo
+echo Starting runsystem
# See whether pflocal is set up already, and do so if not (install case)
#
# Normally this should be the case, but we better make sure since
# without the pflocal server, pipe(2) does not work.
if ! test -c /servers/socket/1 && command -v settrans >/dev/null ; then
+ echo Setting up pflocal
# The root filesystem should be read-only at this point.
if fsysopts / --update --writable ; then
settrans -c /servers/socket/1 /hurd/pflocal
diff --git a/daemons/runsystem.sh b/daemons/runsystem.sh
index 9698ff2a..c3d37000 100644
--- a/daemons/runsystem.sh
+++ b/daemons/runsystem.sh
@@ -53,14 +53,16 @@ singleuser ()
exit 127
}
-# Print a newline.
+# Print a newline and banner.
echo
+echo Starting runsystem
# See whether pflocal is set up already, and do so if not (install case)
#
# Normally this should be the case, but we better make sure since
# without the pflocal server, pipe(2) does not work.
if ! test -c /servers/socket/1 && command -v settrans >/dev/null ; then
+ echo Setting up pflocal
# The root filesystem should be read-only at this point.
if fsysopts / --update --writable ; then
settrans -c /servers/socket/1 /hurd/pflocal
@@ -113,10 +115,12 @@ case "$flags" in
esac
# Start the default pager. It will bail if there is already one running.
+echo Starting default pager
/hurd/mach-defpager
# This is necessary to make stat / return the correct device ids.
fsysopts / --update --readonly
# Finally, start the actual SysV init.
+echo Starting ${init}
exec ${init} ${single} -a