Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Resolving OTA Integration Dependency Loop for Aquila AM69
The dependency loop you’re encountering is a common issue when integrating meta-updater with Toradex hardware, particularly with the kernel initramfs bundling process. Here’s how to resolve this:
Configuration Adjustments
Your current configuration looks mostly correct, but you need to make a few adjustments to prevent the circular dependency:
- Remove kernel bundling conflicts by adjusting your
local.conf:
# Basic OTA configuration
INHERIT += "sota"
DISTRO_FEATURES:append = " sota ostree"
OSTREE_REPO = "${DEPLOY_DIR_IMAGE}/ostree_repo"
OSTREE_OSNAME = "aquila-os"
SOTA_CLIENT_PROV = "aktualizr-shared-prov"
# Prevent initramfs bundling conflicts
INITRAMFS_IMAGE = ""
INITRAMFS_IMAGE_BUNDLE = "0"
# Core packages
CORE_IMAGE_EXTRA_INSTALL += "aktualizr ostree"
- Ensure proper image types are configured for OTA:
IMAGE_FSTYPES:append = " ota-ext4 ostree.tar.bz2 wic"
Understanding the Dependency Loop
The circular dependency occurs because:
- The kernel (
linux-toradex-ti) tries to bundle an initramfs
- The
initramfs-ostree-image depends on kernel modules
- OSTree integration creates interdependencies between these components
Alternative Approaches
If the above doesn’t resolve the issue, try these alternatives:
- Use separate initramfs approach:
INITRAMFS_IMAGE = "initramfs-ostree-image"
INITRAMFS_IMAGE_BUNDLE = "0"
INITRAMFS_FSTYPES = "cpio.gz"
- Disable FIT image bundling temporarily:
KERNEL_IMAGETYPE = "Image"
KERNEL_IMAGETYPES = "Image"
Verification Steps
After making these changes:
- Clean your build environment:
bitbake -c cleanall linux-toradex-ti
bitbake -c cleanall initramfs-ostree-image
- Rebuild your image:
bitbake your-image-name
Expected OTA Functionality
Once successfully built, your Aquila AM69 image will support (1):
- Atomic OTA updates using OSTree
- Secure update verification through Uptane
- Rollback capabilities in case of update failures
- Remote update management through Torizon Platform Services
The configuration ensures that your system uses OSTree for filesystem versioning and aktualizr for communicating with update servers, providing robust OTA update capabilities for your embedded application.
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.