Bug#563583: bind-mount $APTCACHE as /var/cache/apt/archives?

Daniel Leidert daniel.leidert at wgdd.de
Sun Jan 3 21:25:20 UTC 2010


Package: pbuilder
Version: 0.196
Severity: wishlist

There was recently a discussion on planet-debian about making BUILDPLACE a
tmpfs. This increases the speed a lot. But then hard-linking of the cached
Debian packages fails. An alternative might be to use the copy action
(APTCACHEHARDLINK = no). But wouldn't it be sufficient to bind-mount APTCACHE
as /var/cache/apt/archives in the chroot?

Could there be an alternative option to APTCACHEHARDLINK: APTCACHEBINDMOUNT?

IMO this would make it easily possible to use a tmpfs for BUILDPLACE.

Regards, Daniel


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (560, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.5.5      Bootstrap a Debian system
ii  coreutils                     8.0-2      GNU core utilities
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  debootstrap                   1.0.20     Bootstrap a basic Debian system
ii  wget                          1.12-1.1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.60    scripts to make the life of a Debi
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  sudo                          1.7.2p1-1  Provide limited super user privile

Versions of packages pbuilder suggests:
pn  cowdancer                     <none>     (no description available)
pn  gdebi-core                    <none>     (no description available)
pn  pbuilder-uml                  <none>     (no description available)

-- debconf information excluded





More information about the Pbuilder-maint mailing list