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 1/4] 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 From e34dbe7d50fe22d753ebd4e8d4508f39b75e831b Mon Sep 17 00:00:00 2001 From: Ryan Hughes <1630358+ryanrhughes@users.noreply.github.com> Date: Fri, 18 Jul 2025 04:40:41 -0400 Subject: [PATCH 2/4] Create directories --- migrations/1752797704.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migrations/1752797704.sh b/migrations/1752797704.sh index f51d2d1..f78341b 100644 --- a/migrations/1752797704.sh +++ b/migrations/1752797704.sh @@ -1,9 +1,11 @@ echo "Prevent docker from requiring network readiness on boot" +sudo mkdir -p /etc/systemd/system/docker.service.d/ sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF' [Unit] DefaultDependencies=no EOF +sudo mkdir -p /etc/systemd/system/plymouth-quit.service.d/ sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF' [Unit] After=multi-user.target From f5553a8d30644963fd39a47d2f8a55c3f64c5546 Mon Sep 17 00:00:00 2001 From: Ryan Hughes <1630358+ryanrhughes@users.noreply.github.com> Date: Fri, 18 Jul 2025 05:11:51 -0400 Subject: [PATCH 3/4] Update 1752797704.sh MASK --- migrations/1752797704.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/1752797704.sh b/migrations/1752797704.sh index f78341b..0f74fbe 100644 --- a/migrations/1752797704.sh +++ b/migrations/1752797704.sh @@ -12,4 +12,4 @@ After=multi-user.target EOF sudo systemctl daemon-reload -sudo systemctl unmask plymouth-quit-wait.service +sudo systemctl mask plymouth-quit-wait.service From ced618318d91e09626ab5b0de5e515b61357a9b5 Mon Sep 17 00:00:00 2001 From: Ryan Hughes <1630358+ryanrhughes@users.noreply.github.com> Date: Fri, 18 Jul 2025 05:12:36 -0400 Subject: [PATCH 4/4] Mask --- install/login.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/login.sh b/install/login.sh index 1098a38..326a48b 100644 --- a/install/login.sh +++ b/install/login.sh @@ -116,7 +116,7 @@ After=multi-user.target EOF # Prevent plymouth-quit-wait.service -sudo systemctl unmask plymouth-quit-wait.service +sudo systemctl mask plymouth-quit-wait.service sudo systemctl daemon-reload sudo systemctl enable omarchy-seamless-login.service