Open Salamandar opened 3 years ago
Seems like a good feature to add.
Would it be hard to implement ? Could a newbie in Rust implement this?
I don't think it would be too hard. But it might not be too straightforward for someone without familiarity with Rust and Popsicle's code to add.
Probably the library code could be updated to decompress the file on-the-fly, either with libraries on subprocesses. And while not strictly required, the GUI and CLI should probably display something to indicate that the compression format is recognized.
Do you have some examples of isos distributed compressed like this? It seems the convention of Linux distros is to use a plain iso
, but containing a squashfs filesystem.
Do you have some examples of isos distributed compressed like this? It seems the convention of Linux distros is to use a plain iso, but containing a squashfs filesystem.
Actually, I was using Popsicle to flash SD cards for Raspberry pi or other ARM boards. Those usually are provided as .zip. Obviously, I'm not talking about filesystem tree archives like ArchlinuxARM provides, but disk images like Raspbian ;)
Do you have some examples of isos distributed compressed like this? It seems the convention of Linux distros is to use a plain
iso
, but containing a squashfs filesystem.
https://www.freebsd.org/ | has xz ISO's I've seen a few linux distros do the same.
Here are some examples. As mentioned Raspberry Pi .img files are usually provided zipped. Which these are. https://github.com/cadriel/FluiddPI/releases/tag/v1.15.0 https://octoprint.org/download/ https://github.com/raymondh2/MainsailOS/releases
Bump because I was following the guide from Steam and this would've come in handy:
https://help.steampowered.com/en/faqs/view/1b71-edf2-eb6d-2bb3
The image comes in .img.bz2 format
Endless OS also uses both .img.xz and .img.gz images for deployments of the OS.
Fedora ARM64 images use .raw.xz
and .img.xz
until such an ability is implemented, it should instead recognize it and warn the user something like:
you are trying to flash an img.xz file. compressed img files are currently not supported. please extract the file to get the .img and flash that instead.
Something Etcher still does "better" is handling archives. For the moment we need to extract then flash with Popsicle.
Would it be hard to implement ? Could a newbie in Rust implement this ?