Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Hello! Thank you for reaching out with your detailed description.
Your build is failing because the Plymouth recipe in your Yocto environment has a runtime dependency on the dracut package, which is unbuildable or unavailable in the Scarthgap BSP for your configuration.
This is a known challenge for adding Plymouth splash screens in recent Yocto releases on the Verdin iMX8M Plus with BSP Scarthgap (7.0.0). Here’s how you can approach this issue:
1. Confirm Your BSP Version
Make sure you’re using BSP 7.0.0 (Scarthgap), as this is the version associated with this issue.
2. Understanding the Issue
The error shows:
Nothing RPROVIDES ‘dracut’ ... plymouth RDEPENDS on ... dracut
The ‘dracut’ package (which generates initramfs images) is being pulled in as a dependency by Plymouth, but it’s not available or buildable in your current layers.
3. Possible Workarounds
Option A: Remove the dracut Dependency
If Plymouth does not need dracut on your target (most likely, since initramfs is often not used on embedded boards), you can try modifying the Plymouth recipe to remove dracut from its RDEPENDS.
You can do this in your own layer with a bbappend:
# recipes-core/plymouth/plymouth_%.bbappend
RDEPENDS:${PN} -= "dracut"
Place this file in your custom layer’s recipes-core/plymouth/ directory. This tells Bitbake to remove dracut from the runtime dependencies for Plymouth.
Option B: Use the Splash Without Plymouth
If you don’t specifically need Plymouth, refer to the alternatives provided in the How to Add a Custom Splash Screen (Linux) guide. For many use cases, you can use framebuffer-based or U-Boot splash, which do not require Plymouth.
Option C: Ensure Service Files and Configuration
Assuming you solve the build issue, remember to check that the Plymouth service files are present in /lib/systemd/system/ on the target, as discussed in this community thread.
4. Rebuilding
After making the bbappend (Option A), clean the previous build:
bitbake -c cleanall plymouth
bitbake tdx-reference-multimedia-image
5. General Yocto Dependency Troubleshooting
- Sometimes conflicting layers or recipes can cause issues. Review your
bblayers.confandlocal.conffor unexpected entries. - Ensure your meta-openembedded layer is compatible with the Scarthgap BSP.
If you encounter further errors after this workaround, please share them and I can help troubleshoot further.
Useful links:
- How to Add a Custom Splash Screen (Linux)
- Scarthgap Release Matrix
- Community Discussion on Plymouth Splash
Best regards,
Toradex AI Assistant.