package/psplash: add support to psplash personalized png image
PATCH 1/1 package/psplash: add support to psplash personalized png image
Add an configuration to use personalized png image. If the configuration is empty we keep the psplash default image.
Signed-off-by Kory Maincent <[email protected]>
--- package/psplash/Config.in | 10 ++++++++++ package/psplash/psplash.mk | 8 ++++++++ 2 files changed, 18 insertions(+)
package/psplash/Config.in +10 -0
@@ -27,5 +27,15 @@ config BR2_PACKAGE_PSPLASH 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. + +endif + comment "psplash needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR
package/psplash/psplash.mk +8 -0
@@ -18,6 +18,14 @@ else PSPLASH_CONF_OPTS += --without-systemd endif +PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE)) + +define PSPLASH_COPY_IMAGE + $(if $(PSPLASH_IMAGE),cp $(PSPLASH_IMAGE) $(@D)/base-images/psplash-poky.png) +endef + +PSPLASH_POST_EXTRACT_HOOKS += PSPLASH_COPY_IMAGE + define PSPLASH_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/psplash/psplash-start.service \ $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 34 lines · Kory Maincent
Add an configuration to use personalized png image. If the configuration is empty we keep the psplash default image.
Signed-off-by Kory Maincent <[email protected]>--- package/psplash/Config.in | 10 ++++++++++ package/psplash/psplash.mk | 8 ++++++++ 2 files changed, 18 insertions(+)package/psplash/Config.in +10
-0@@ -27,5 +27,15 @@ config BR2_PACKAGE_PSPLASH 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. + +endif + comment "psplash needs a toolchain w/ wchar" depends on !BR2_USE_WCHARpackage/psplash/psplash.mk +0
-0
package/psplash/psplash.mk else · line 24
Quoted 7 lines
package/psplash/psplash.mk +4
-0@@ -18,6 +18,14 @@ else PSPLASH_CONF_OPTS += --without-systemd endif +PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE)) + +define PSPLASH_COPY_IMAGE + $(if $(PSPLASH_IMAGE),cp $(PSPLASH_IMAGE) $(@D)/base-images/psplash-poky.png)
I changed this into
ifneq ($(PSPLASH_IMAGE),)
around the whole thing, and applied to master, thanks.
Regards,
Arnout
package/psplash/psplash.mk else · line 31
Quoted 8 lines
package/psplash/psplash.mk +4
-0+endef + +PSPLASH_POST_EXTRACT_HOOKS += PSPLASH_COPY_IMAGE + define PSPLASH_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/psplash/psplash-start.service \ $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot