Hello,
I have to come back to that issue my friend opened a while ago. I
finally found out why using libeatmydata does not seem to help (much) -
the script functions/chroot.sh in live-build cleans the environment
before entering the chroot and so also removes LD_PRELOAD from the
environment.
There are two solutions to this:
1.) include something like
'LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libeatmydata.so' in
config/environment.chroot in the config tree. That's what I did right
now in order to not modify live-build. It works and reduces build time
by about 35 minutes.