Bug#949848: sbuild: Support running just apt-get under eatmydata

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#949848: sbuild: Support running just apt-get under eatmydata

Daniel Schepler-6
Package: sbuild
Version: 0.78.1-2
Severity: wishlist

When using my systemd-nspawn chroot mode backend, the installation
process is fairly slow due to it being on a BTRFS filesystem.  (And
also, I was never really comfortable with the current recommendation
to put "eatmydata" into the schroot configuration to apply to all
commands, in case the LD_PRELOAD applying also to dpkg-buildpackage
might break some package build.)  So, this patch adds the ability to
request sbuild to run just the apt-get commands under eatmydata.

(It might not apply cleanly to a current source package since I based
it on top of my previous patch from #939843.)
--
Daniel Schepler

eatmydata.patch (5K) Download Attachment