Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

58
package/psplash/Config.in Normal file
View File

@@ -0,0 +1,58 @@
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/
if BR2_PACKAGE_PSPLASH
config BR2_PACKAGE_PSPLASH_IMAGE
string "psplash image"
help
Use a personalized png image as boot splash.
Let it empty if you want to keep the psplash default image.
config BR2_PACKAGE_PSPLASH_PROGRESS_BAR
bool "enable progress bar"
default y
help
Enable progress bar management via the "PROGRESS" command.
config BR2_PACKAGE_PSPLASH_STARTUP_MSG
bool "enable startup message"
default y
help
Enable text banner output on startup.
config BR2_PACKAGE_PSPLASH_FULL_SCREEN
bool "use fullscreen mode"
help
Enable displaying the psplash image in fullscreen mode.
endif
comment "psplash needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Starts Psplash Boot screen
DefaultDependencies=no
RequiresMountsFor=/run
Before=sysinit.target
[Service]
Type=exec
ExecStart=/usr/bin/psplash -n
[Install]
WantedBy=sysinit.target

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Start psplash-systemd progress communication helper
DefaultDependencies=no
After=psplash-start.service
BindsTo=psplash-start.service
RequiresMountsFor=/run
[Service]
ExecStart=/usr/bin/psplash-systemd
[Install]
WantedBy=sysinit.target

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 18efa5f56e5b2ff4e8916b7632e7da59122e33f79bb514a8e225e12931e3ef20 psplash-53ae74a36bf17675228552abb927d2f981940a6a-git4.tar.gz
sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 COPYING

View File

@@ -0,0 +1,58 @@
################################################################################
#
# psplash
#
################################################################################
PSPLASH_VERSION = 53ae74a36bf17675228552abb927d2f981940a6a
PSPLASH_SITE = https://git.yoctoproject.org/psplash
PSPLASH_SITE_METHOD = git
PSPLASH_LICENSE = GPL-2.0+
PSPLASH_LICENSE_FILES = COPYING
PSPLASH_AUTORECONF = YES
PSPLASH_DEPENDENCIES = host-gdk-pixbuf host-pkgconf
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
PSPLASH_DEPENDENCIES += systemd
PSPLASH_CONF_OPTS += --with-systemd
else
PSPLASH_CONF_OPTS += --without-systemd
endif
ifeq ($(BR2_PACKAGE_PSPLASH_PROGRESS_BAR),y)
PSPLASH_CONF_OPTS += --enable-progress-bar
else
PSPLASH_CONF_OPTS += --disable-progress-bar
endif
ifeq ($(BR2_PACKAGE_PSPLASH_STARTUP_MSG),y)
PSPLASH_CONF_OPTS += --enable-startup-msg
else
PSPLASH_CONF_OPTS += --disable-startup-msg
endif
ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y)
PSPLASH_CONF_OPTS += --enable-img-fullscreen
else
PSPLASH_CONF_OPTS += --disable-img-fullscreen
endif
PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE))
ifneq ($(PSPLASH_IMAGE),)
define PSPLASH_COPY_IMAGE
cp $(PSPLASH_IMAGE) $(@D)/base-images/psplash-poky.png
endef
PSPLASH_POST_EXTRACT_HOOKS += PSPLASH_COPY_IMAGE
endif
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 -m 644 package/psplash/psplash-systemd.service \
$(TARGET_DIR)/usr/lib/systemd/system/psplash-systemd.service
endef
$(eval $(autotools-package))