Replies: 4 comments 9 replies
-
cc @mudler @davidcassany @kkaempf @bk201 (Not sure if harvester uses squash for the recovery) |
Beta Was this translation helpful? Give feedback.
-
mmm missing a bit of context here, dropping squashfs as in use of the recovery and just use img all the way? |
Beta Was this translation helpful? Give feedback.
-
I am not against dropping squashfs, but I consider most of the issues listed here are not a problem with squashfs. Also note that by using squashfs for all images (recovery, active and passive) we could consider building full disks in non privileged containers (using GPT and EFI), hence inside k8s clusters. This is doable, there is just quite some tech debt to get rid of, including our current booting procedure. Rather than coding issue is an issue about how to organize and verify changes. In short my take is that squashfs should be a transparent option. IMHO the fact that squashfs it tricky to handle in our elemental-cli code and in elemental-tookit mostly reveals arguable design choices:
Note most of the above is not strictly related to the squashfs support and would make squashfs mostly transparent (as it was ext2, ext3, xfs or something else). Also So my take on that is that there is little gain on dropping squashfs support, feels more like a shortcut and a workaround than anything else. |
Beta Was this translation helpful? Give feedback.
-
So far here we have few diverging opinions, but still, I believe there is a first step we probably can agree on: Do you agree on dropping any squashfs recovery related test in CI? mostly thinking on squashfs install from ISOs. As far as I understood Harvester is only using the squashfs from the ISO to extract it to disk or for PXE booting (no squashfs based recovery). That would already reduce the test matrix and alleviate the CI. For that, and also thinking on secure boot, I would make a small change in grub configuration, I would remove all |
Beta Was this translation helpful? Give feedback.
-
As nothing seems to be using squashfs and there doesnt seem to be any features from it that we can use I propose dropping support for squashfs altogether.
PROS:
CONS:
I propose we fully drop support from it + tests, then we drop support for its path and flags from elemental-cli
Beta Was this translation helpful? Give feedback.
All reactions