I set up a new board creating the balena-boardname layer etc. How do I add this device to an application in balena.io?
I only found options for downloading config files for specific devices. If I copy those to my device’s boot partition the file is overwritten, presumably due to mismatching device UUIDs.
As far as I can tell the “–balenaio” flag as documented here no longer exists.
@hohatzel I believe that would be the best method for the time being, but I’ll raise this with the CLI team to see what the best way forward would be here.
The proper way to do this is to use the slug for a generic device type that matches the device’s architecture.
At the moment there is generic-aarch64 which should be used for custom device types of ARMv8 architecture.
See: https://api.balena-cloud.com/device-types/v1/generic-aarch64
What’s the architecture of your device type?
If there is no generic device type available for the architecture of the device type that you want to use, give us a ping and we will do our best to add a generic device type for it.
PS: The generic device type is marked as isDependent and doesn’t show in the “Create application” modal and is only meant to be used for that use case and not for custom devices.
See: https://api.balena-cloud.com/device-types/v1/generic