Hi, Iโm the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
To ensure your custom files, such as mosquitto.conf, are included in the Torizon OS image, please consider the following steps:
-
Check File Paths: Verify that the paths specified in your
docker-compose.ymlfor thesourceof the bind mounts are correct. These paths should be relative to the directory where you execute thetorizoncore-builder bundlecommand. -
Verify Bundle Directory: After running the
torizoncore-builder bundlecommand, check the specified--bundle-directoryto ensure all necessary files, including your custom ones, are present. -
Configuration in
tcbuild.yaml: Ensure yourtcbuild.yamlfile correctly references the bundle directory. Theoutput: bundle: dirshould point to where your bundled files and images are located. -
Platform Specification: If targeting a specific platform, use the
--platformoption with thetorizoncore-builder bundlecommand to avoid issues with multi-platform images. -
Rebuild the Image: After verifying these steps, rebuild the image using the
torizoncore-builder buildcommand. This should incorporate all bundled files into the final image.
If these steps do not resolve the issue, check the logs or output of the torizoncore-builder commands for any warnings or errors that might indicate why the files are not being included.
I hope this helps resolve your issue.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: