From f03503b19950fa3574b43385c465c837e087682c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 23 Jul 2023 21:33:35 +0200 Subject: add basic support for plymouth I could speard the commands in the script, but this would be of little use only... Most of execution time is consumed by pacman anyway. So let's just change the mode and give an initial progress in service. Fixes GH-2 --- systemd/pacman-offline.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemd/pacman-offline.service b/systemd/pacman-offline.service index 01ce462..bd8ee49 100644 --- a/systemd/pacman-offline.service +++ b/systemd/pacman-offline.service @@ -11,4 +11,6 @@ OnFailure=reboot.target Type=oneshot StandardOutput=tty StandardError=tty +ExecStartPre=-/usr/bin/plymouth change-mode --updates +ExecStartPre=-/usr/bin/plymouth system-update --progress=20 ExecStart=/usr/lib/systemd/scripts/pacman-offline -- cgit v1.2.3-70-g09d2