mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
31
package/psplash/Config.in
Normal file
31
package/psplash/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
config BR2_PACKAGE_PSPLASH
|
||||
bool "psplash"
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
PSplash is a userspace graphical boot splash screen for
|
||||
mainly embedded Linux devices supporting a 16bpp or 32bpp
|
||||
framebuffer. It has few dependencies (just libc), supports
|
||||
basic images and text and handles rotation. Its visual look
|
||||
is configurable by basic source changes.
|
||||
|
||||
Also included is a 'client' command utility for sending
|
||||
information to psplash such as boot progress information.
|
||||
|
||||
Start the drawing process with 'psplash -n&' as early as
|
||||
possible. Note: psplash creates a FIFO in /tmp for
|
||||
communication with psplash-write.
|
||||
|
||||
Usage:
|
||||
* Set progress bar to 50 percent:
|
||||
psplash-write "PROGRESS 50"
|
||||
|
||||
* Display message "foobar" above progress bar:
|
||||
psplash-write "MSG foobar"
|
||||
|
||||
* Terminate psplash:
|
||||
psplash-write "QUIT"
|
||||
|
||||
http://git.yoctoproject.org/cgit/cgit.cgi/psplash/
|
||||
|
||||
comment "psplash needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
11
package/psplash/psplash-quit.service
Normal file
11
package/psplash/psplash-quit.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Terminate Psplash Boot Screen
|
||||
After=psplash-start.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/psplash-write QUIT
|
||||
TimeoutSec=20
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
11
package/psplash/psplash-start.service
Normal file
11
package/psplash/psplash-start.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Starts Psplash Boot screen
|
||||
Wants=systemd-vconsole-setup.service
|
||||
After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/psplash -n
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
3
package/psplash/psplash.hash
Normal file
3
package/psplash/psplash.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 aaddb20ef892dfb03d4e046cc634159bbcdfe555f7291652dde2b7d4cf491289 psplash-5b3c1cc28f5abdc2c33830150b48b278cc4f7bca.tar.gz
|
||||
sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 COPYING
|
||||
27
package/psplash/psplash.mk
Normal file
27
package/psplash/psplash.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# psplash
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PSPLASH_VERSION = 5b3c1cc28f5abdc2c33830150b48b278cc4f7bca
|
||||
PSPLASH_SITE = git://git.yoctoproject.org/psplash
|
||||
PSPLASH_LICENSE = GPL-2.0+
|
||||
PSPLASH_LICENSE_FILES = COPYING
|
||||
PSPLASH_AUTORECONF = YES
|
||||
|
||||
define PSPLASH_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/psplash/psplash-start.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
|
||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/psplash-start.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
|
||||
|
||||
$(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service
|
||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/psplash-quit.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user