Hi Vagrant,

Quoting Vagrant Cascadian (2021-04-27 09:08:38)
> The attached patch adds support for using zstd compressed tarballs.
> 
> sbuild will try to use ~/.cache/sbuild/sid-amd64.tar.zst but tar may not
> know what to do with it and so errors out:
> 
>   Unpacking /home/vagrant/.cache/sbuild/sid-amd64.tar.zst to 
> /tmp/tmp.sbuild.2ilJsfh49J...
>   tar: Archive is compressed. Use --zstd option
>   tar: Error is not recoverable: exiting now
>   E: ABORT: Received PIPE signal (requesting cleanup and shutdown)
> 
> 
> The patch passes the --zstd argument to tar, which seems to be available
> in versions of tar since buster. Alternately, "--use-compress-program
> zstd" worked as well.

cool, thanks! I'll apply your patch after the bullseye release.

> Really loving "--chroot-mode=unshare" !

Wow, it's really working for you? I'm not getting any feedback for the unshare
mode and never knew whether this was because nobody is using it or because
there are no problems. XD

Since sbuild-createchroot is only needed for the schroot setup I'm using this
command these days to create chroots:

    mmdebstrap --variant=buildd unstable ~/.cache/sbuild/sid-amd64.tar.gz

As of #923747 being fixed, the above command will work in "unshare" mode by
default and that way the whole sbuild machinery can now be setup and run
without being root or suid root.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to