unixpunk / PlutoWeb

PlutoWeb
73 stars 19 forks source link

Switch from zip to gzip or bzip2 #34

Closed unixpunk closed 6 years ago

unixpunk commented 6 years ago

Winner is gzip.

ImDroided commented 6 years ago

What about tar? What is included in the image by default or whats the smallest?

unixpunk commented 6 years ago

Ya, will be tar+gzip because the fw has bunzip2 but not bzip2 while gzip has -d so it can do both compress/uncompress. This way you can zip up your running stuff into an update.tgz if you wanted, you can't with bzip2.

unixpunk commented 6 years ago

First attempt, let's see what I forgot to change: https://github.com/unixpunk/PlutoWeb/commit/ba7628ca4315b73218dbca2f7dfaf241aa24b0e6 and https://github.com/unixpunk/buildroot/commit/1868ef7fdd40c753f6945694514464ac6f18c80b FW build yet to come.

unixpunk commented 6 years ago

Latest build: https://github.com/unixpunk/PlutoWeb/commit/87a81d130f15db56f61e8dc845c947ed62f33dd1

unixpunk commented 6 years ago

Seems to work for me with latest update.tgz from web and also when dumped locally.