Fix console output showing during reboot or shutdown

Messages like "could not parse /path/to/mountinfo" and "watchdog did not
stop" briefly flash on screen during reboot/shutdown.

Another contributing factor is the broadcast (Wall) message "system is
going down NOW".
This commit is contained in:
Vishal Rao
2026-01-07 05:17:01 +05:30
committed by Nate Graham
parent 1cee1cf224
commit 8e2400f49a
3 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2026 Vishal Rao <vishalrao@gmail.com>
[Login]
WallMessages=no

View File

@@ -0,0 +1,9 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2025-2026 Vishal Rao <vishalrao@gmail.com>
build() {
map add_binary \
/usr/lib/libblkid.so \
/usr/lib/libmount.so
}

View File

@@ -30,7 +30,7 @@ cat <<- EOF > mkinitcpio.conf
MODULES=(overlay)
BINARIES=()
FILES=()
HOOKS=(base systemd modconf kms keyboard block sd-encrypt filesystems fsck systemd-extension plymouth microcode)
HOOKS=(base systemd modconf kms keyboard block sd-encrypt filesystems fsck systemd-extension plymouth microcode sd-shutdown)
EOF
echo "rw \