From 19d45670ceffe6d743bd47f639e9e1f604b69292 Mon Sep 17 00:00:00 2001 From: Ryan Hughes <1630358+ryanrhughes@users.noreply.github.com> Date: Fri, 18 Jul 2025 04:37:47 -0400 Subject: [PATCH] Change when plymouth is dismissed and prevent docker blocking --- install/docker.sh | 8 ++++++++ install/login.sh | 9 +++++++++ migrations/1752797704.sh | 13 +++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 migrations/1752797704.sh diff --git a/install/docker.sh b/install/docker.sh index f6e95e3..8054077 100644 --- a/install/docker.sh +++ b/install/docker.sh @@ -11,3 +11,11 @@ sudo systemctl enable docker # Give this user privileged Docker access sudo usermod -aG docker ${USER} + +# Prevent Docker from preventing boot for network-online.target +sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF' +[Unit] +DefaultDependencies=no +EOF + +sudo systemctl daemon-reload diff --git a/install/login.sh b/install/login.sh index 55c972f..1098a38 100644 --- a/install/login.sh +++ b/install/login.sh @@ -109,6 +109,15 @@ PAMName=login WantedBy=graphical.target EOF +# Make plymouth remain until graphical.target +sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF' +[Unit] +After=multi-user.target +EOF + +# Prevent plymouth-quit-wait.service +sudo systemctl unmask plymouth-quit-wait.service + sudo systemctl daemon-reload sudo systemctl enable omarchy-seamless-login.service diff --git a/migrations/1752797704.sh b/migrations/1752797704.sh new file mode 100644 index 0000000..f51d2d1 --- /dev/null +++ b/migrations/1752797704.sh @@ -0,0 +1,13 @@ +echo "Prevent docker from requiring network readiness on boot" +sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF' +[Unit] +DefaultDependencies=no +EOF + +sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF' +[Unit] +After=multi-user.target +EOF + +sudo systemctl daemon-reload +sudo systemctl unmask plymouth-quit-wait.service