Files
Lian Duan eb56468d25 feat(ota): include device SKU in update requests (#1429)
* feat(ota): include device SKU in update requests

Read /etc/jetkvm-sku at startup and pass the value as a sku query
parameter when checking for OTA updates, enabling the cloud API to
serve variant-specific firmware for jetkvm-v2 (eMMC) and
jetkvm-v2-sdmmc hardware. Falls back to "jetkvm-v2" when the file
is absent for backwards compatibility.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(ota): include SKU in auto-update loop

The background auto-update loop in main.go also constructs UpdateParams
and was missing the SKU field, so periodic updates would not transmit
the device SKU to the cloud API.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 23:36:29 +02:00
..
2026-03-05 18:26:23 +01:00
2026-03-05 18:26:23 +01:00
2025-11-19 15:20:59 +01:00
2026-03-05 18:26:23 +01:00
2026-03-05 18:26:23 +01:00
2026-03-05 18:26:23 +01:00
2026-03-05 18:26:23 +01:00
2026-03-09 13:01:42 +01:00