Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Your approach to setting a custom Plymouth theme in your Yocto build appears to be on the right track. Let’s review your steps and ensure everything is correctly configured:
-
Theme Files: Your
video.plymouth
andvideo.script
files seem properly set up to define a custom video boot animation. Double-check that all paths and filenames are consistent with your build environment. -
Yocto Recipe (
plymouth_%.bbappend
): Your recipe correctly includes the theme files and specifies their installation paths. Ensure thedo_install:append
function places the files in the correct directory structure within the root filesystem. -
Setting the Default Theme:
- The
PREFERRED_THEME
variable is not typically used for Plymouth themes. Instead, your use ofROOTFS_POSTPROCESS_COMMAND
is appropriate. Theset_plymouth_theme
function should effectively set your theme and rebuild the initrd.
- The
-
Verification:
- After building the image, confirm that the theme files are in the expected directory on the target device.
- Check the Plymouth configuration file (usually
/etc/plymouth/plymouthd.conf
) on the target to ensure it points to your custom theme. - Verify that the initrd is rebuilt with the new theme settings. You can manually inspect the initrd contents if necessary.
By following these steps, your custom theme should be set as the default. If you encounter any issues, ensure that the plymouth-set-default-theme
command is executed correctly during the build process.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: