#1040895 xen-tools: Should run debootstrap etc. through eatmydata

#1040895#5
Date:
2023-07-12 03:19:31 UTC
From:
To:
Hello,

dpkg is extra cautious when installing packages and thus emits sync()
barriers to make sure things don't get corrupt on power loss. But when
creating a VM, we don't need such safety, we can just recreate it from
scratch. So xen-create-image's call to debootstrap should use eatmydata,
to avoid the costly sync() calls and thus get way faster.

Samuel