From b4063b16082604554c7c19b369ebddd27061f372 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 22 Jan 2020 14:20:24 +0000 Subject: psplash: add systemd support Make use of the recently added systemd support in psplash. The utility psplash-systemd communicates boot progress to the splash screen. The splash is disabled once systemd consideres the system fully booted (progress is at 1.0). Note that this can take a while if systemd is stuck on a failing unit. This change adds two systemd services. One service starts psplash itself (psplash-start.service) and the second service starts the helper utility psplash-systemd (psplash-systemd.service). The units are written such that psplash-systemd.service can be used indepenendenly. This is useful when starting psplash in initramfs (not using systemd). Signed-off-by: Stefan Agner Signed-off-by: Richard Purdie --- meta/recipes-core/psplash/files/psplash-systemd.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-core/psplash/files/psplash-systemd.service (limited to 'meta/recipes-core/psplash/files/psplash-systemd.service') diff --git a/meta/recipes-core/psplash/files/psplash-systemd.service b/meta/recipes-core/psplash/files/psplash-systemd.service new file mode 100644 index 0000000000..e14f42032d --- /dev/null +++ b/meta/recipes-core/psplash/files/psplash-systemd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Start psplash-systemd progress communication helper +DefaultDependencies=no +After=systemd-start.service + +[Service] +ExecStart=/usr/bin/psplash-systemd + +[Install] +WantedBy=sysinit.target -- cgit 1.2.3-korg