Hi,
I’m trying to add a custom splash screen using Plymouth on the Verdin AM62.
I created a custom meta-layer with a .bbappend file to include our logo and update the spinner.plymouth configuration. However, the build fails when I try to compile the Plymouth recipe directly.
Could you please confirm the correct approach to build or include Plymouth for a custom splash screen in the Toradex Yocto BSP?
I’ve attached my plymouth_%.bbappend, spinner.plymouth, and layer files for reference.
meta-custom/
├── conf
│ └── layer.conf
├── COPYING.MIT
├── README
└── recipes-core
└── plymouth
├── files
│ ├── spinner.plymouth
│ └── teckinsoft_neuronics_private_limited_logo.png
└── plymouth_%.bbappend
4 directories, 6 files
udaykumar@SYS-TK01:/mnt/yocto_build/toradex-verdin-am62mp/layers$ cat meta-custom/recipes-core/plymouth/files/spinner.plymouth
[plymouth Theme]
Name=Torizon Custom Spinner
Description=Custom Splash Screen
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/spinner
ScriptFile=/usr/share/plymouth/themes/spinner/spinner.script
udaykumar@SYS-TK01:/mnt/yocto_build/toradex-verdin-am62mp/layers$ cat meta-custom/recipes-core/plymouth/plymouth_%.bbappend
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " \
file://teckinsoft_neuronics_private_limited_logo.png \
file://spinner.plymouth \
"
EXTRA_OECONF += "--with-runtimedir=/run"
do_install:append () {
install -m 0644 ${WORKDIR}/teckinsoft_neuronics_private_limited_logo.png ${D}${datadir}/plymouth/themes/spinner/watermark.png
install -m 0644 ${WORKDIR}/spinner.plymouth ${D}${datadir}/plymouth/themes/spinner/spinner.plymouth
}
in local.conf
CORE_IMAGE_EXTRA_INSTALL += "plymouth"
Error i got
ERROR: Nothing RPROVIDES 'dracut' (but /mnt/yocto_build/toradex-verdin-am62mp/build/../layers/meta-openembedded/meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'dracut' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['dracut']
ERROR: Required build target 'plymouth' has no buildable providers.
Missing or unbuildable dependency chain was: ['plymouth', 'dracut']
Summary: There were 2 ERROR messages, returning a non-zero exit code.
udaykumar@SYS-TK01:/mnt/yocto_build/toradex-verdin-am62mp/layers$ cd ../
Thanks,
Uday