[Buildd-tools-devel] Bug#356792: share one apt cache

Martin Michlmayr tbm at cyrius.com
Tue Mar 14 05:19:29 UTC 2006


Package: sbuild
Version: 0.42
Severity: wishlist

The problem of running multiple sbuild instances at the same time in
different chroots is that they all have their own
chroot-*/var/cache/apt/archives directory in which downloads are put.
It would be nice if all instances would share one cache.

Now I realize that this is only possible in split mode and not when
using schroot and that you could argue that I should simply use a
proxy, but maybe it would at least be possible to add something to the
documentation, e.g. an example of how to bind mount the
/var/cache/apt/archives dir and how to achieve it with sbuild.

I suppose my situation is not very common since I'm building the same
suite with multiple sbuild instances.  Sharing the cache dir probably
wouldn't help much if you built different suites.  However, it
certainly cannot hurt...

Another important factor is disk space saving.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-rc5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sbuild depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  apt                           0.6.43.2   Advanced front-end for dpkg
ii  dpkg-dev                      1.13.16    package building tools for Debian
ii  grep-dctrl                    2.6.7      Grep Debian package information
ii  perl                          5.8.8-2    Larry Wall's Practical Extraction 
ii  postfix [mail-transport-agent 2.2.8-9    A high-performance mail transport 
ii  sudo                          1.6.8p12-1 Provide limited super user privile

Versions of packages sbuild recommends:
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
ii  fakeroot                      1.5.7      Gives a fake root environment

-- no debconf information

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Buildd-tools-devel mailing list