Hi, On 2024-11-24 08:23, Sean Whitton wrote: > This is interesting. One concern I have is speed -- isn't it always > slower to have to unpack a tarball before the build instead of having a > chroot under /srv/chroot that's always unpacked?
Other than the speed of tarball unpacking, which as Johannes showed isn't that much of a concern, one feature of schroot I'd been using is in-memory union overlays, something like: type=directory directory=/srv/chroots/sid-arm64 union-type=overlay union-overlay-directory=/dev/shm/ Writing to memory instead of disk during the build process improves performance significantly. The equivalent in a sbuild+unshare world on Bookworm seems to be: $unshare_tmpdir_template = '/dev/shm/tmp.sbuild.XXXXXXXXXX'; In Trixie /tmp is a tmpfs by default so no config needed at all? I'm moving my setups to sbuild+unshare, thanks josch for your great work.