On Sun, 17 Nov 2024 at 11:29, Johannes Schauer Marin Rodrigues
<jo...@debian.org> wrote:
> Quoting Richard Lewis (2024-11-17 11:24:24)
> > I second this request. If /dev/shm is not large enough you get weird errors,
> > and not everyone will want /tmp to be a tmpfs, or to use /tmp at all
> >
> > I dont know perl, but if there's some documentation of how to add
> > code to enable this as an optional feature i'd be happy to learn enough to 
> > help
> > out
>
> I'm not familiar with eatmydata but as far as I understand the docs you run
> something under eatmydata by using the eatmydata wrapper program. So if your
> chroot has eatmydata installed, maybe try adding this to your ~/.sbuildrc:
>
> $build_env_cmnd = ['eatmydata'];
>
> Does that work?

I assume no square brackets - i get some perl error with that,
although it claimed to do something (the example in sbuild.conf doesnt
have them)
I am running "gbp buildpackage --mode=unshare --no-run-lintian
--no-run-piuparts --no-run-autopkgtest" some times are below.

schroot (2nd run, in case of caching - directory and overlayfs):

Build needed 00:00:16, 5352k disk space
real    0m20.029s
user    0m12.594s
sys     0m6.416s


unshare (2nd run, in case of caching, no use of eatmydata)
Build needed 00:00:40, 5352k disk space
real    0m49.898s
user    0m26.677s
sys     0m19.721s

unshare with eatmydata (2nd run, in case of caching)
Build needed 00:00:35, 5352k disk space
real    0m44.809s
user    0m24.927s
sys     0m16.344s


I suppose a lot of the difference is uncompressing the tarball - i
didnt try plain.tar yet

Reply via email to