On 2021-06-06, Johannes Schauer Marin Rodrigues wrote:
> Quoting Vagrant Cascadian (2021-06-05 19:39:56)
>> On 2021-06-05, Johannes Schauer Marin Rodrigues wrote:
>> > Quoting Vagrant Cascadian (2021-06-05 03:09:52)
>> > Is that such a common task? Are you running mmdebstrap manually and find
>> > yourself piping it to tar2sqfs by hand? Do you maybe suggest that the 
>> > default
>> > options might need changing? I'm trying to understand your use-case here.
>> 
>> Well, *mostly* just to build zstd squashfs instead of xz (the
>> performance on various hardware I use is considerable better with zstd
>> defaults). Being able to set the compression type directly from
>> mmdebstrap would be nice!
>> 
>> I think I also needed to pipe to tar2sqfs manually in the past to
>> workaround bugs that I think have since been fixed (e.g. the
>> --xattrs-exclude patches).
>
> But are you running mmdebstrap by hand or are you using it as part of a 
> script?

From a relatively simple script, but I have yet to figure out the ideal
arguments to pass to tar2sqfs.

I've also experimented with bdebstrap a bit, though it has been even
more difficult to enable zstd with yet another layer of
abstraction... though there are definitely elements of it I like.


>> The current default for tar2sqfs is xz, so passing --compressor xz is
>> redundant.
>
> Maybe I should just drop the "--compressor xz" option and use the tar2sqfs
> default and then you can post a bugreport about a good default with the
> tar2sqfs people instead of here. ;)

Good defaults may be context dependent... but if you really don't want
to make it possible to pass custom arguments to tar2sqfs, I can't make
you. :)

Playing "good defaults" whack-a-mole with a handful of projects down the
stack is not something I'm likely to pursue too much for fun. If it
comes to that, I'll most likely just deal with the consequences of 'xz'
or locally patch mmdebstrap.


Thanks for considering, I know it's always a balancing act to avoid
extra complication and still provide good defaults.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to