Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore squashfs support #3

Merged
merged 6 commits into from
Jul 23, 2023
Merged

Restore squashfs support #3

merged 6 commits into from
Jul 23, 2023

Conversation

chkno
Copy link
Owner

@chkno chkno commented Jul 23, 2023

Restore squashfs support with the dreadful kludge described in #1 (comment) that just hard-codes "nix-store" as the label for all squashfs filesystems.

Fixes #1

NixOS/nixpkgs#236656 changed NixOS's qemu-vm
disk-finding mechanism to use filesystem labels.

squashfs doesn't support filesystem labels (see
plougher/squashfs-tools#59 ).

So we can't use squashfs anymore.  :(

The simple test's nix store image is 240M as squashfs and 1.3G as ext4.
Size of the simple test's nix store image:
 240M squashfs (no longer available)
 684M erofs
 1.3G ext4
... as we update flake.lock to a nixpkgs rev that includes that PR.
@chkno chkno merged commit a8cf2d3 into main Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NixOS PR 236656 breaks squashfs support
1 participant