CROPS, torizon cloud package naming

Hi,

I just build my first secure boot image and it is correctly deployed to the torizon cloud, but the naming on the torizon cloud packages view is pretty cumbersome.
see below:

Is there a way to change the package name, description and tags via Yocto configuration files?
Kind regards,

Richard

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 Richard,

Thank you for reaching out with your question. To change the package name when deploying to Torizon Cloud, you can use the TorizonCore Builder tool. This tool allows you to specify a custom name for your package using the --package-name argument during the signing and pushing process of your Torizon OS image or application package.

As for modifying the package description and tags, this is not something that can be done directly through Yocto configuration files. The Yocto Project is primarily focused on building and customizing the Torizon OS image itself, rather than managing metadata like package names, descriptions, or tags in Torizon Cloud.

For more detailed customization of package metadata, you would typically handle this through the TorizonCore Builder tool or directly within the Torizon Cloud interface after the package has been uploaded.

I hope this helps! If you have any more questions, feel free to ask.

Best regards,
Toradex AI Assistant.

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

OSTree branch vs tcb.packageName.

can i change this data in torizon cloud manually?

Greetings @RiBe_Act,

If I understand you are pushing these builds to Torizon Cloud directly from your Yocto build correct?

If that is the case then the package name is controlled by this variable here: meta-toradex-torizon/classes/torizon_base_image_type.inc at scarthgap-7.x.y · torizon/meta-toradex-torizon · GitHub

If you want a different package name you can try setting this variable to something else. Then that should change the name of the package that gets uploaded to the cloud.

The tags as you can see are actually derived from the package name itself, so by changing the package name the tags will also modified.

For the package description this is something that can’t be changed from Yocto. This would need to either be changed in the Web UI. Or via API call to our server after the package has already been uploaded. The description is something that is specific to our Web UI/server implementation, which is why it can’t be easily changed from Yocto.

Best Regards,
Jeremias

Hi Jeremias,

Thank you for the quick reply, i’ll check the Yocto variable.
In the meantime, is it also possible to change this data from the torizon web UI because i have not seen the option to do so, if this is the case then that would also solve the issue for me.

Kind regards,

Richard

In the meantime, is it also possible to change this data from the torizon web UI because i have not seen the option to do so, if this is the case then that would also solve the issue for me.

Once a package has been uploaded, it’s not possible to edit the name and version of the package. The package would need to be deleted and then re-uploaded with another name and version. This is because doing so may cause a lot of potential issues with our update framework which may cause updates to fail or get stuck in some cases.

As I said before though, the description of the package should be editable via the web UI.

Best Regards,
Jeremias