nerves-hub / nerves_hub_web

Manage firmware updates for Nerves devices
https://nerves-hub.org/
Apache License 2.0
179 stars 72 forks source link

Use fwup version on device to determine delta firmware update #914

Open fhunleth opened 1 year ago

fhunleth commented 1 year ago

Fwup's delta firmware support is getting improvements. This is great, but it also means that NervesHub needs to take into consideration what version of fwup is running on the device. Here's a rough list of what's available:

  1. Anything with fwup 1.9.1 or earlier supports delta firmware updates of the root filesystem if supported in the fwup.conf. This is the current support and there are probably few devices in the field that don't have at least this support.
  2. Fwup 1.10.0 and later support delta firmware updates for files on FAT filesystems
  3. Fwup 1.11 is planned to support delta firmware updates on encrypted filesystems

NervesHub should be able to build and send down an appropriate delta firmware update when deltas are enabled.

joshk commented 3 months ago

@fhunleth I'd like to pick this work up soon and, ideally, work with you on the bits needed to finish it.

fhunleth commented 3 months ago

Great! This will unblock some work that I put on the backburner.