• Bug#987124: console-setup not work properly with plymouth

    From Vladimir K@21:1/5 to All on Tue Feb 13 23:40:01 2024
    XPost: linux.debian.maint.boot

    A bit more refined variant without ps:

    --- a/lib/console-setup/console-setup.sh 2024-02-09 17:45:38.000000000 +0300 +++ b/lib/console-setup/console-setup.sh 2024-02-14 01:15:24.413177808 +0300
    @@ -16,6 +16,16 @@
    -nt /etc/default/keyboard ] || do_configure=yes
    [ /etc/console-setup/cached_setup_terminal.sh \
    -nt /etc/default/console-setup ] || do_configure=yes
    +
    + # if plymouth-exit.service was launched, this means
    + # plymouth released tty1 for us to fix
    + if [ -r /proc/1/comm ] &&
    + [ "$(read -r INIT < /proc/1/comm ; echo "$INIT")" = "systemd" ] &&
    + command -v systemctl >/dev/null &&
    + systemctl is-active -q plymouth-quit.service
    + then
    + do_configure=yes
    + fi
    ;;
    esac

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vladimir K@21:1/5 to All on Tue Mar 12 17:30:01 2024
    XPost: linux.debian.maint.boot

    If plymouth password prompt is used during boot (i.e. root volume decryption from initramfs), just the patch above will not work, also need to add plymouth-quit.service to 'After' property in console-setup.service

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)