Hi Andrea,

* Andrea Pappacoda <[email protected]> [2023-07-16 21:35]:
One thing that is a bit less nice than schroot, though, is the inability of the
unshare backend to use eatmydata to speed up package builds. Not only speed,
but I also fear that continuous (and unnecessary) disk writes may degrade my
disk's lifespan ever so slightly.

Is there a way possible to use eatmydata with the unshare backend? So far I
tried to start the build with `eatmydata sbuild`, but it doesn't seem to work.
The eatmydata package is installed in the tarball.

Given enough RAM you can use a tmpfs like this:

$unshare_tmpdir_template = '/dev/shm/tmp.sbuild.XXXXXXXXXX';

According to my tests that was even faster then eatmydata (and adding eatmydata did not improve it.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to