balena-os / balena-jetson

https://www.balena.io/os/
Apache License 2.0
41 stars 23 forks source link

[Jetson TX2] Unmanaged images cannot be provisioned via SD-CARD #536

Closed acostach closed 1 year ago

acostach commented 1 year ago

On the TX2 is the resin-device-register exists with a failure code if the needed variables (API_ENDPOINT or CONFIG_PATH) aren't set. This causes resin-init-flasher to get stopped, although it has a weak dependence (Wants) on resin-devkice-register. On the NUC the resin-init-flasher service isn't stopped although resin-device-register fails when the required variables aren't set. Both TX2 and the NUC use the same systemd 250.5, but the NUC runs on a newer kernel version 5.15, which is not available on the TX2.

This issue has been observed on the TX2 based type only and has been addressed by setting the api endpoint in the config.json, for the HUP test.

acostach commented 1 year ago

Fixed in leviathan https://github.com/balena-os/meta-balena/commit/6e49511d7de1e88ba3a42e6b546cf5e0ebe9a7cf