On Sun, Jan 26, 2014 at 06:09:51PM +0100, Martin Pitt wrote: > I advise to use the schroot runner instead. schroots are easy to set > up these days with mk-sbuild, and with some additional love (like > installing and configuring apt-cacher-ng and symlinking > /var/lib/schroot/union/overlay/ and /var/lib/schroot/unpack/ to /tmp/, > and having /tmp on a tmpfs), set up, tear down, and package > installation are extremely fast.
This schroot tip is precious! I have just reduced the build time (which was mostly spent installing dependencies -- I was already using apt-cacher-ng) of a package from ~4min to ~30s! But instead of symlinking /var/lib/schroot/union/overlay/¹ , I configured my sbuild chroots adding union-overlay-directory=/dev/shm ¹ that would affect all my chroots, not only the ones I use for sbuild. I expected the non-sbuild ones to still be there after a reboot. ;-) -- Antonio Terceiro <terce...@debian.org>
signature.asc
Description: Digital signature