Yocto build, DISTRO_VERSION is "devel" instead of stable

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello!

To ensure your Yocto build reflects a stable release rather than a development version, you can follow these steps:

  1. Verify the Tag and Branch: Double-check that the tag β€˜7.0.0’ is indeed a stable release tag in the Toradex repository. You can do this by listing all tags in the repository and confirming that β€˜7.0.0’ is marked as stable.

  2. Check the Manifest File: Open the tdxref/default.xml file and ensure it points to the correct branches and repositories for a stable release. Sometimes, the manifest might still reference development branches, which could cause the build to show a development version.

  3. Reinitialize the Repo: If you find discrepancies, you might need to reinitialize the repo with the correct branch or tag. Use the following commands:

    $ repo init -u git://git.toradex.com/toradex-manifest.git -b refs/tags/7.0.0 -m tdxref/default.xml
    $ repo sync
    

    Ensure there are no errors during this process.

  4. Review Build Configuration: After syncing, check the build configuration again to see if the DISTRO_VERSION reflects the stable release. If it still shows a development version, there might be additional configurations needed.

By following these steps, you should be able to configure your build environment to reflect a stable release version. If you continue to encounter issues, it may be necessary to further investigate the repository setup.

I hope this helps you achieve the desired stable release build!

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Is there a timeline for updating yocto repo manifest for latest yocto and Linux kernel?.