rancher / elemental-toolkit

:snowflake: The toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images
https://rancher.github.io/elemental-toolkit/docs/
Apache License 2.0
289 stars 49 forks source link

Make squashfs defaults more consistent #2040

Closed davidcassany closed 5 months ago

davidcassany commented 5 months ago

This PR makes ensures squashfs compression can be disabled and leaves the default compression to what used to be the case for squash-no-compression: true. Default compression then defaults to default mksquashfs compression (gzip) with a block of 1024k.

davidcassany commented 5 months ago

The result is that where ever squash-no-compression option was used it can be removed with the same result. Also the tests that where using the no compression option now should really result in non compressed images.