Waziup / WaziGate

Waziup LoRa Edge gateway
21 stars 20 forks source link

Publish smaller ISO images #18

Open cdupont opened 5 years ago

cdupont commented 5 years ago

Currently, the ISO image for V1.0-beta1 is quite big: 8Go. That's because it is created from a dd command from live gateway.

cdupont commented 5 years ago

Two possible solutions:

  1. The prepared image could be shrinked with a tool like https://github.com/Drewsif/PiShrink before distributing. It un-shrinks to the size of the SD card on first boot.
  2. Another option is to insert our script "get_waziup.sh" directly into the Raspbian ISO: https://github.com/nmcclain/raspberian-firstboot. Raspbian ISO already have an un-shrink mechanism. The script would be executed at first boot.
cdupont commented 5 years ago

Current image is 2Go. Maybe good enough? I wonder if we can reduce even more. For instance, the Raspbian Lite is only 400Mo unexpended. @j-forster @mojtaba-esk