cd18e2acee
This patch provides service files for using psplash on embedded devices running systemd: - psplash-start.service: start psplash. - psplash-quit.service: kill psplash when reaching multi-user.target The following kernel command line options should also be set: systemd.show_status=0 quiet splash The option "systemd.show_status=0" is required, because, unlike Plymouth, psplash does not have real systemd integration, i.e. it will not perform: kill(1, SIGRTMIN + 21); Note that no progress messages will be printed on the splash screen. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
977 B
Makefile
27 lines
977 B
Makefile
################################################################################
|
|
#
|
|
# psplash
|
|
#
|
|
################################################################################
|
|
|
|
PSPLASH_VERSION = afd4e228c606a9998feae44a3fed4474803240b7
|
|
PSPLASH_SITE = git://git.yoctoproject.org/psplash
|
|
PSPLASH_LICENSE = GPLv2+
|
|
PSPLASH_AUTORECONF = YES
|
|
|
|
define PSPLASH_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 644 package/psplash/psplash-start.service \
|
|
$(TARGET_DIR)/etc/systemd/system/psplash-start.service
|
|
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
|
ln -sf ../psplash-start.service \
|
|
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
|
|
|
|
$(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
|
|
$(TARGET_DIR)/etc/systemd/system/psplash-quit.service
|
|
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
ln -sf ../psplash-quit.service \
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|