]> code.ossystems Code Review - openembedded-core.git/commit
psplash: add systemd support
authorStefan Agner <stefan.agner@toradex.com>
Wed, 22 Jan 2020 14:20:24 +0000 (14:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Feb 2020 10:38:55 +0000 (10:38 +0000)
commitb4063b16082604554c7c19b369ebddd27061f372
treecf394dee342d54c132725ae900a378d80254985b
parent0bfb2e984062e2a00f8989d26aebb89b112d81d2
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 <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/psplash/files/psplash-init
meta/recipes-core/psplash/files/psplash-start.service [new file with mode: 0644]
meta/recipes-core/psplash/files/psplash-systemd.service [new file with mode: 0644]
meta/recipes-core/psplash/psplash_git.bb